|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.language.d3.SphericalPoint
public class SphericalPoint
A sphericalpoint as defined in http://mathworld.wolfram.com/SphericalCoordinates.html .
(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 Summary | |
---|---|
SphericalPoint(double radius,
double phi,
double theta)
constructs a new SphericalPoint. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SphericalPoint(double radius, double phi, double theta)
phi
- phiradius
- radiustheta
- thetaMethod Detail |
---|
public double getPhi()
public double getRadius()
public double getTheta()
public CartesianPoint toCartesianPoint()
public static CartesianPoint toCartesianPoint(SphericalPoint point)
point
- the sphericalpoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |