public class SphericalPoint extends Object
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl/language
License of use: Lesser
General Public License (LGPL) , no warranty
Constructor and Description |
---|
SphericalPoint(double radius,
double phi,
double theta)
constructs a new SphericalPoint.
|
Modifier and Type | Method and Description |
---|---|
double |
getPhi() |
double |
getRadius() |
double |
getTheta() |
CartesianPoint |
toCartesianPoint()
converts a sphericalpoint to a cartesian point
|
static CartesianPoint |
toCartesianPoint(SphericalPoint point)
converts a sphericalpoint to a cartesian point
|
public SphericalPoint(double radius, double phi, double theta)
phi
- phiradius
- radiustheta
- thetapublic double getPhi()
public double getRadius()
public double getTheta()
public CartesianPoint toCartesianPoint()
public static CartesianPoint toCartesianPoint(SphericalPoint point)
point
- the sphericalpointCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.