|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.Coordinates
spice.basic.CylindricalCoordinates
public class CylindricalCoordinates
Class CylindricalCoordinates represents sets of coordinates expressed in the cylindrical system: positions are specified by radius, longitude and Z coordinate.
Longitude increases in the counterclockwise sense about the +Z axis.
Version 1.0.0 28-NOV-2009 (NJB)
Field Summary |
---|
Fields inherited from class spice.basic.Coordinates |
---|
ALTITUDE, COLATITUDE, CYLINDRICAL, DECLINATION, GEODETIC, LATITUDE, LATITUDINAL, LONGITUDE, PLANETOGRAPHIC, RA, RADEC, RADIUS, RANGE, RECTANGULAR, SPHERICAL, X, Y, Z |
Constructor Summary | |
---|---|
CylindricalCoordinates()
No-arguments constructor. |
|
CylindricalCoordinates(CylindricalCoordinates coords)
Copy constructor. |
|
CylindricalCoordinates(double radius,
double longitude,
double z)
Construct a CylindricalCoordinates instance from a radius, longitude, and z. |
|
CylindricalCoordinates(Vector3 v)
Construct a CylindricalCoordinates instance from a 3-vector. |
Method Summary | |
---|---|
Matrix33 |
getCylRecJacobian()
Return the Jacobian matrix of the cylindrical-to-rectangular coordinate transformation at the point specified by this instance. |
double |
getLongitude()
Return longitude in radians. |
double |
getRadius()
Return radius. |
static Matrix33 |
getRecCylJacobian(Vector3 v)
Return the Jacobian matrix of the rectangular-to-cylindrical coordinate transformation at the point specified by a 3-vector. |
double |
getZ()
Return Z. |
Vector3 |
toRectangular()
Convert this instance to rectangular coordinates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CylindricalCoordinates()
public CylindricalCoordinates(CylindricalCoordinates coords)
This method creates a deep copy.
public CylindricalCoordinates(double radius, double longitude, double z) throws SpiceException
SpiceException
public CylindricalCoordinates(Vector3 v) throws SpiceException
SpiceException
Method Detail |
---|
public double getRadius()
public double getLongitude()
public double getZ()
public Vector3 toRectangular() throws SpiceException
toRectangular
in class Coordinates
SpiceException
public Matrix33 getCylRecJacobian() throws SpiceException
SpiceException
public static Matrix33 getRecCylJacobian(Vector3 v) throws SpiceException
SpiceException
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |