|
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.LatitudinalCoordinates
public class LatitudinalCoordinates
Class LatitudinalCoordinates represents sets of coordinates expressed in the "latitudinal" system: positions are specified by radius, longitude and latitude.
Longitude increases in the counterclockwise sense about the +Z axis. Latitude of a point is the angle between the X-Y plane and the vector from the origin to the point.
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 | |
---|---|
LatitudinalCoordinates()
No-arguments constructor. |
|
LatitudinalCoordinates(double radius,
double longitude,
double latitude)
Construct a LatitudinalCoordinates instance from a radius, longitude, and latitude. |
|
LatitudinalCoordinates(LatitudinalCoordinates coords)
Copy constructor. |
|
LatitudinalCoordinates(Vector3 v)
Construct a LatitudinalCoordinates instance from a 3-vector. |
Method Summary | |
---|---|
double |
getLatitude()
Return latitude in radians. |
Matrix33 |
getLatRecJacobian()
Return the Jacobian matrix of the latitudinal-to-rectangular coordinate transformation at the point specified by this instance. |
double |
getLongitude()
Return longitude in radians. |
double |
getRadius()
Return radius. |
static Matrix33 |
getRecLatJacobian(Vector3 v)
Return the Jacobian matrix of the rectangular-to-latitudinal coordinate transformation at the point specified by a 3-vector. |
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 LatitudinalCoordinates()
public LatitudinalCoordinates(LatitudinalCoordinates coords)
This method creates a deep copy.
public LatitudinalCoordinates(double radius, double longitude, double latitude) throws SpiceException
SpiceException
public LatitudinalCoordinates(Vector3 v) throws SpiceException
SpiceException
Method Detail |
---|
public double getRadius()
public double getLongitude()
public double getLatitude()
public Vector3 toRectangular() throws SpiceException
toRectangular
in class Coordinates
SpiceException
public Matrix33 getLatRecJacobian() throws SpiceException
SpiceException
public static Matrix33 getRecLatJacobian(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 |