Package csw.params.core.models
Class Coords.EqCoord$
- java.lang.Object
-
- csw.params.core.models.Coords.EqCoord$
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Coords
public static class Coords.EqCoord$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Coords.EqCoord$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EqCoord$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Coords.EqCoord
apply(java.lang.Object ra, java.lang.Object dec, Coords.EqFrame frame, Coords.Tag tag, java.lang.String catalogName, double pmx, double pmy)
Creates an EqCoord from the given arguments, which all have default values.Coords.EqCoord
asBoth(java.lang.String radec, Coords.EqFrame frame, Coords.Tag tag, java.lang.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.87654djava.lang.String
DEFAULT_CATNAME()
Coords.EqFrame
DEFAULT_FRAME()
double
DEFAULT_PMX()
double
DEFAULT_PMY()
Coords.Tag
DEFAULT_TAG()
-
-
-
Field Detail
-
MODULE$
public static final Coords.EqCoord$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
DEFAULT_FRAME
public Coords.EqFrame DEFAULT_FRAME()
-
DEFAULT_TAG
public Coords.Tag DEFAULT_TAG()
-
DEFAULT_PMX
public double DEFAULT_PMX()
-
DEFAULT_PMY
public double DEFAULT_PMY()
-
DEFAULT_CATNAME
public java.lang.String DEFAULT_CATNAME()
-
apply
public Coords.EqCoord apply(java.lang.Object ra, java.lang.Object dec, Coords.EqFrame frame, Coords.Tag tag, java.lang.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(java.lang.String radec, Coords.EqFrame frame, Coords.Tag tag, java.lang.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
-
-