Package csw.params.core.models
Class Coords.EqCoord
- java.lang.Object
- 
- csw.params.core.models.Coords.EqCoord
 
- 
- All Implemented Interfaces:
- Coords.Coord,- java.io.Serializable,- scala.Equals,- scala.Product
 - Enclosing class:
- Coords
 
 public static class Coords.EqCoord extends java.lang.Object implements Coords.Coord, scala.Product, java.io.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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description EqCoord(Coords.Tag tag, Angle ra, Angle dec, Coords.EqFrame frame, java.lang.String catalogName, ProperMotion pm)EqCoord(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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcatalogName()Angledec()Coords.EqFrameframe()ProperMotionpm()Anglera()Coords.Tagtag()java.lang.StringtoString()Coords.EqCoordwithPM(double pmx, double pmy)
 
- 
- 
- 
Constructor Detail- 
EqCoordpublic EqCoord(Coords.Tag tag, Angle ra, Angle dec, Coords.EqFrame frame, java.lang.String catalogName, ProperMotion pm) 
 - 
EqCoordpublic EqCoord(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. 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 Detail- 
tagpublic Coords.Tag tag() - Specified by:
- tagin interface- Coords.Coord
 
 - 
rapublic Angle ra() 
 - 
decpublic Angle dec() 
 - 
framepublic Coords.EqFrame frame() 
 - 
catalogNamepublic java.lang.String catalogName() 
 - 
pmpublic ProperMotion pm() 
 - 
withPMpublic Coords.EqCoord withPM(double pmx, double pmy) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-