|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectskyview.geometry.Position
public class Position
This class represents a position in the sky. This class is used to pass a position that may be represented in different frames in different parts of a program. However since it creates CoordinateSystem objects for each transformation it should not be used to do coordinate transformations for large arrays of positions.
| Constructor Summary | |
|---|---|
Position(double l,
double b)
Define a position object in the standard (J2000) frame |
|
Position(double l,
double b,
java.lang.String frame)
Define a position object used a specified frame |
|
| Method Summary | |
|---|---|
double[] |
getPosition()
Get the position in the standard (J2000) frame |
double[] |
getPosition(java.lang.String frame)
Get the position in a specified frame |
static void |
main(java.lang.String[] args)
Test the Position class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Position(double l,
double b)
throws TransformationException
TransformationException
public Position(double l,
double b,
java.lang.String frame)
throws TransformationException
TransformationException| Method Detail |
|---|
public double[] getPosition()
throws TransformationException
TransformationException
public double[] getPosition(java.lang.String frame)
throws TransformationException
TransformationException
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||