final case class Coordinates(ra: RightAscension, dec: Declination) extends Product with Serializable
- Alphabetic
- By Inheritance
- Coordinates
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Coordinates(ra: RightAscension, dec: Declination)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def angularDistance(that: Coordinates): Angle
Angular distance from
thistothat, always a positive angle in [0, 180]).Angular distance from
thistothat, always a positive angle in [0, 180]). Approximate.- See also
Algorithm at Movable Type Scripts.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val dec: Declination
- def diff(x: Coordinates): CoordinatesDiff
Calculates the offset, posAngle and distance to another coordinate Taken from the OT calculations.
Calculates the offset, posAngle and distance to another coordinate Taken from the OT calculations. (Based on the C version from A. P. Martinez)
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def interpolate(that: Coordinates, f: Double): Coordinates
Interpolate between
thisandthatat a position specified byf, where0.0isthis,1.0isother, and0.5is halfway along the great circle connecting them.Interpolate between
thisandthatat a position specified byf, where0.0isthis,1.0isother, and0.5is halfway along the great circle connecting them. Note that this computation is undefined wherefisNaNorInfinity. Approximate.- See also
Algorithm at Movable Type Scripts.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val ra: RightAscension
- def shift(dRA: HourAngle, dDec: Angle): Coordinates
Shift these
Coordinatesby the given deltas.Shift these
Coordinatesby the given deltas. If the declination crossed a pole the right ascension will have been flipped 180°. - def shiftWithCarry(dRA: HourAngle, dDec: Angle): (Coordinates, Boolean)
Shift these
Coordinatesby the given deltas, and indicate whether the declination crossed a pole; if so the right ascension will have been flipped 180°. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toRadians: (Double, Double)
These coordinates in radians, [0 ..
These coordinates in radians, [0 .. 2π) and [-π/2 .. π/2].
- def toString(): String
- Definition Classes
- Coordinates → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])