|
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.RADecCoordinates
public class RADecCoordinates
Class RADecCoordinates represents sets of coordinates expressed in the right ascension/declination system: positions are specified by radius, right ascension, and declination.
Right ascension increases in the counterclockwise sense about the +Z axis. The range of right ascension is 0-360 degrees.
Declination of a point is the angle between the X-Y plane and the vector from the origin to the point.
Version 1.0.0 18-DEC-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 | |
---|---|
RADecCoordinates()
No-arguments constructor. |
|
RADecCoordinates(double radius,
double rightAscension,
double declination)
Construct a RADecCoordinates instance from a radius, RA, and declination. |
|
RADecCoordinates(RADecCoordinates coords)
Copy constructor. |
|
RADecCoordinates(Vector3 v)
Construct a RADecCoordinates instance from a 3-vector. |
Method Summary | |
---|---|
double |
getDeclination()
Return declination in radians. |
double |
getRadius()
Return radius. |
Matrix33 |
getRADRecJacobian()
Return the Jacobian matrix of the RA/Dec-to-rectangular coordinate transformation at the point specified by this instance. |
static Matrix33 |
getRecRADJacobian(Vector3 v)
Return the Jacobian matrix of the rectangular-to-RA/Dec coordinate transformation at the point specified by a 3-vector. |
double |
getRightAscension()
Return RA in radians. |
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 RADecCoordinates()
public RADecCoordinates(RADecCoordinates coords)
This method creates a deep copy.
public RADecCoordinates(double radius, double rightAscension, double declination) throws SpiceException
SpiceException
public RADecCoordinates(Vector3 v) throws SpiceException
SpiceException
Method Detail |
---|
public double getRadius()
public double getRightAscension()
public double getDeclination()
public Vector3 toRectangular() throws SpiceException
toRectangular
in class Coordinates
SpiceException
public Matrix33 getRADRecJacobian() throws SpiceException
SpiceException
public static Matrix33 getRecRADJacobian(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 |