Packages

final class HourAngle extends Angle

Exact hour angles represented as integral microseconds. These values form a commutative group over addition, where the inverse is reflection around the 0-12h axis. This is a subgroup of the integral Angles where microarcseconds are evenly divisible by 15.

Lawful conversion to and from other types/scales is provided by optics defined on the companion object. Floating-point conversions are provided directly

Source
Angle.scala
See also

The helpful Wikipedia article.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HourAngle
  2. Angle
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(ha: HourAngle): HourAngle

    Sum of this HourAngle and ha.

    Sum of this HourAngle and ha. Exact, commutative, invertible.

  4. def +(a: Angle): Angle

    Sum of this angle and a.

    Sum of this angle and a. Exact, commutative, invertible.

    Definition Classes
    Angle
  5. def -(ha: HourAngle): HourAngle

    Difference of this HourAngle and ha.

    Difference of this HourAngle and ha. Exact, invertible.

  6. def -(a: Angle): Angle

    Difference of this angle and a.

    Difference of this angle and a. Exact, invertible.

    Definition Classes
    Angle
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def bisect: Angle

    Angle corresponding to the bisection of this Angle.

    Angle corresponding to the bisection of this Angle. Approximate, non-invertible.

    Definition Classes
    Angle
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. def cos: Double

    Trigonometric cosine of the angle.

    Trigonometric cosine of the angle.

    Definition Classes
    Angle
  12. def difference(a: Angle): Angle

    angle difference or separation between two angles in the range [0 ..

    angle difference or separation between two angles in the range [0 .. π]

    Definition Classes
    Angle
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def equals(a: Any): Boolean

    Angles are equal if their magnitudes are equal.

    Angles are equal if their magnitudes are equal. Exact.

    Definition Classes
    Angle → AnyRef → Any
  15. def flip: HourAngle

    Flip this HourAngle by 12h.

    Flip this HourAngle by 12h. This is logically identical to the superclass implementation and serves only to refine the return type. Exact, invertible.

    Definition Classes
    HourAngle → Angle
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. final def hashCode(): Int
    Definition Classes
    Angle → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def mirrorBy(a: Angle): Angle

    Mirror image of this angle, when the mirror stands at angle a; or picture picking up the circle and flipping it over, around a line drawn from the center going off in direction a.

    Mirror image of this angle, when the mirror stands at angle a; or picture picking up the circle and flipping it over, around a line drawn from the center going off in direction a. So (88° mirrorBy 90°) = 92° for instance, as is 88° mirrorBy 270° since it's the same line. This operation is specified completely by the identity b - a = (a mirrorBy b) - b.

    Definition Classes
    Angle
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. def offsetInP: Offset

    This angle as an offset in p.

    This angle as an offset in p. Exact, invertible.

    Definition Classes
    Angle
  24. def offsetInQ: Offset

    This angle as an offset in q.

    This angle as an offset in q. Exact, invertible.

    Definition Classes
    Angle
  25. def p: P

    This angle as an Offset.P.

    This angle as an Offset.P. Exact, invertible.

    Definition Classes
    Angle
  26. def q: Q

    This angle as an Offset.Q.

    This angle as an Offset.Q. Exact, invertible.

    Definition Classes
    Angle
  27. def sin: Double

    Trigonometric sine of the angle.

    Trigonometric sine of the angle.

    Definition Classes
    Angle
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def tan: Double

    Trigonometric tangent of the angle.

    Trigonometric tangent of the angle.

    Definition Classes
    Angle
  30. def toDoubleDegrees: Double

    This angle in decimal degrees.

    This angle in decimal degrees. Approximate, non-invertible.

    Definition Classes
    Angle
  31. def toDoubleHours: Double

    This HourAngle in decimal hours.

    This HourAngle in decimal hours. Approximate.

  32. def toDoubleRadians: Double

    This angle in decimal radian, [0 ..

    This angle in decimal radian, [0 .. 2π) Approximate, non-invertible

    Definition Classes
    Angle
  33. val toMicroarcseconds: Long
    Definition Classes
    Angle
  34. def toMicroseconds: Long

    This HourAngle in microseconds.

    This HourAngle in microseconds. Exact.

  35. def toSignedDoubleDegrees: Double

    This angle in signed decimal degrees.

    This angle in signed decimal degrees. Approximate, non-invertible

    Definition Classes
    Angle
  36. def toSignedDoubleRadians: Double

    This angle in signed decimal radians, [-π ..

    This angle in signed decimal radians, [-π .. π) Approximate, non-invertible

    Definition Classes
    Angle
  37. def toString(): String

    String representation of this HourAngle, for debugging purposes only.

    String representation of this HourAngle, for debugging purposes only.

    Definition Classes
    HourAngle → Angle → AnyRef → Any
  38. def unary_-: HourAngle

    Additive inverse of this HourAngle (by mirroring around the 0-12h axis).

    Additive inverse of this HourAngle (by mirroring around the 0-12h axis). This is logically identical to the superclass implementation and serves only to refine the return type. Exact, invertible.

    Definition Classes
    HourAngle → Angle
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Angle

Inherited from AnyRef

Inherited from Any

Conversions

Operations

Transformations

Ungrouped