Packages

sealed class Angle extends AnyRef

Exact angles represented as integral microarcseconds. These values form a commutative group over addition, where the inverse is reflection around the 0-180° axis. The subgroup of angles where integral microarcseconds correspond with clock microseconds (i.e., where they are evenly divisible by 15 microarcseconds) is represented by the HourAgle subtype.

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
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Angle
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Angle(toMicroarcseconds: Long)

    toMicroarcseconds

    This angle in microarcseconds. Exact.

    Attributes
    protected

Value Members

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

    Sum of this angle and a.

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

  4. def -(a: Angle): Angle

    Difference of this angle and a.

    Difference of this angle and a. Exact, invertible.

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

    Angle corresponding to the bisection of this Angle.

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

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

    Trigonometric cosine of the angle.

  10. 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 .. π]

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. 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
  13. def flip: Angle

    Flip this angle 180°.

    Flip this angle 180°. Equivalent to mirrorBy(this + Angle90). Exact, invertible.

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def hashCode(): Int
    Definition Classes
    Angle → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. 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.

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

    This angle as an offset in p.

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

  22. def offsetInQ: Offset

    This angle as an offset in q.

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

  23. def p: P

    This angle as an Offset.P.

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

  24. def q: Q

    This angle as an Offset.Q.

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

  25. def sin: Double

    Trigonometric sine of the angle.

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def tan: Double

    Trigonometric tangent of the angle.

  28. def toDoubleDegrees: Double

    This angle in decimal degrees.

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

  29. def toDoubleRadians: Double

    This angle in decimal radian, [0 ..

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

  30. val toMicroarcseconds: Long
  31. def toSignedDoubleDegrees: Double

    This angle in signed decimal degrees.

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

  32. def toSignedDoubleRadians: Double

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

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

  33. def toString(): String

    String representation of this Angle, for debugging purposes only.

    String representation of this Angle, for debugging purposes only.

    Definition Classes
    Angle → AnyRef → Any
  34. def unary_-: Angle

    Additive inverse of this angle, equivalent to mirrorBy Angle0.

    Additive inverse of this angle, equivalent to mirrorBy Angle0. Exact, invertible.

  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. 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 AnyRef

Inherited from Any

Conversions

Operations

Transformations

Ungrouped