|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.language.d3.SphericalPoint
A sphericalpoint as defined in http://mathworld.wolfram.com/SphericalCoordinates.html .
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , 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 - theta| Method 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 | ||||||||||