Package csw.params.core.models
Class Coords.EqCoord
java.lang.Object
csw.params.core.models.Coords.EqCoord
- All Implemented Interfaces:
Coords.Coord
,Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Coords
public static class Coords.EqCoord
extends Object
implements Coords.Coord, scala.Product, Serializable
Equatorial coordinates.
param: tag a Tag instance (name for the coordinates) param: ra right ascension, expressed as an Angle instance param: dec declination, expressed as an Angle instance param: frame the IAU celestial reference system param: catalogName the name of the catalog from which the coordinates were taken (use "none" if unknown) param: pm proper motion
- See Also:
-
Constructor Summary
ConstructorDescriptionEqCoord
(Coords.Tag tag, Angle ra, Angle dec, Coords.EqFrame frame, String catalogName, ProperMotion pm) EqCoord
(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. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
EqCoord
public EqCoord(Coords.Tag tag, Angle ra, Angle dec, Coords.EqFrame frame, String catalogName, ProperMotion pm) -
EqCoord
public EqCoord(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. The values for ra and dec may be an Angle instance, or a String that can be parsed by Angle.parseRa()- Parameters:
ra
- may be an Angle instance, or a String (in hms) that can be parsed by Angle.parseRa() or a Double value in degrees (default: 0.0)dec
- may be an Angle instance, or a String that can be parsed by Angle.parseDe() or a Double value in degrees (default: 0.0)frame
- the the IAU celestial reference system (default: ICRS)tag
- a Tag instance (name for the coordinates, default: "BASE")catalogName
- the name of the catalog from which the coordinates were taken (default: "none")pmx
- proper motion X coordinate (default: 0.0)pmy
- proper motion y coordinate (default: 0.0)
-
-
Method Details
-
tag
- Specified by:
tag
in interfaceCoords.Coord
-
ra
-
dec
-
frame
-
catalogName
-
pm
-
withPM
-
toString
-