|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.geom.SkySys
public class SkySys
Sky coordinate system definition. These are used to label the system in which sky coordinates are supplied or required by SkyDataGeom so that a transformation can be performed between them if required. It is not an all-singing all-dancing toolkit for sky coordinate system manipulation.
SkyDataGeom
Field Summary | |
---|---|
static SkySys |
ECLIPTIC2000
Ecliptic system, based on conversion at data 2000.0. |
static SkySys |
EQUATORIAL
J2000 Equatorial sky system. |
static SkySys |
GALACTIC
IAU 1958 Galactic sky system. |
static SkySys |
SUPERGALACTIC
De Vaucouleurs supergalactic system. |
Method Summary | |
---|---|
int[] |
getCoordPair(ValueInfo[] infos)
Tries to guess at a pair of columns from a given selection that represent the longitude, latitude coordinates in this sky system. |
static SkySys[] |
getKnownSystems(boolean includeNull)
Returns the list of known sky system instances. |
String |
getSysDescription()
Returns the description for this system. |
String |
getSysName()
Returns the name for this system. |
double[] |
toEquatorial()
Returns a rotation matrix to convert coordinates in this system to J2000 equatorial coordinates. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SkySys EQUATORIAL
public static final SkySys GALACTIC
public static final SkySys SUPERGALACTIC
public static final SkySys ECLIPTIC2000
Method Detail |
---|
public String getSysName()
public String getSysDescription()
public double[] toEquatorial()
public int[] getCoordPair(ValueInfo[] infos)
infos
- array of metadata items for the available columns
infos
array
of lon,lat items, or null if attempt failspublic String toString()
toString
in class Object
public static SkySys[] getKnownSystems(boolean includeNull)
includeNull
- true if null is to appear in the list
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |