Package csw.params.core.models
Class Coords.EqCoord$
java.lang.Object
csw.params.core.models.Coords.EqCoord$
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Coords
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Coords.EqCoord$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Object ra, Object dec, Coords.EqFrame frame, Coords.Tag tag, String catalogName, double pmx, double pmy) Creates an EqCoord from the given arguments, which all have default values.asBoth
(String radec, Coords.EqFrame frame, Coords.Tag tag, String catalogName, double pmx, double pmy) This allows creation of an EqCoordinate from a string of ra and dec with formats: 20 54 05.689 +37 01 17.38 10:12:45.3-45:17:50 15h17m-11d10m 15h17+89d15 275d11m15.6954s+17d59m59.876s 12.34567h-17.87654ddouble
double
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
EqCoord$
public EqCoord$()
-
-
Method Details
-
DEFAULT_FRAME
-
DEFAULT_TAG
-
DEFAULT_PMX
public double DEFAULT_PMX() -
DEFAULT_PMY
public double DEFAULT_PMY() -
DEFAULT_CATNAME
-
apply
public Coords.EqCoord apply(Object ra, Object dec, Coords.EqFrame frame, Coords.Tag tag, String catalogName, double pmx, double pmy) Creates an EqCoord from the given arguments, which all have default values. See matching constructior for a description of the arguments.- Parameters:
ra
- (undocumented)dec
- (undocumented)frame
- (undocumented)tag
- (undocumented)catalogName
- (undocumented)pmx
- (undocumented)pmy
- (undocumented)- Returns:
- (undocumented)
-
asBoth
public Coords.EqCoord asBoth(String radec, Coords.EqFrame frame, Coords.Tag tag, String catalogName, double pmx, double pmy) This allows creation of an EqCoordinate from a string of ra and dec with formats: 20 54 05.689 +37 01 17.38 10:12:45.3-45:17:50 15h17m-11d10m 15h17+89d15 275d11m15.6954s+17d59m59.876s 12.34567h-17.87654d- Parameters:
radec
- string includes both the ra a dec continuousframe
- (undocumented)tag
- (undocumented)catalogName
- (undocumented)pmx
- (undocumented)pmy
- (undocumented)- Returns:
- a new EqCoord
-