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
- Alphabetic
- By Inheritance
- Angle
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(a: Angle): Angle
Sum of this angle and
a.Sum of this angle and
a. Exact, commutative, invertible. - def -(a: Angle): Angle
Difference of this angle and
a.Difference of this angle and
a. Exact, invertible. - final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bisect: Angle
Angle corresponding to the bisection of this Angle.
Angle corresponding to the bisection of this Angle. Approximate, non-invertible.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def cos: Double
Trigonometric cosine of the angle.
- 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 .. π]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- def flip: Angle
Flip this angle 180°.
Flip this angle 180°. Equivalent to
mirrorBy(this + Angle90). Exact, invertible. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def hashCode(): Int
- Definition Classes
- Angle → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 directiona.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 directiona. So(88° mirrorBy 90°) = 92°for instance, as is88° mirrorBy 270°since it's the same line. This operation is specified completely by the identityb - a = (a mirrorBy b) - b. - 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 offsetInP: Offset
This angle as an offset in p.
This angle as an offset in p. Exact, invertible.
- def offsetInQ: Offset
This angle as an offset in q.
This angle as an offset in q. Exact, invertible.
- def p: P
This angle as an Offset.P.
This angle as an Offset.P. Exact, invertible.
- def q: Q
This angle as an Offset.Q.
This angle as an Offset.Q. Exact, invertible.
- def sin: Double
Trigonometric sine of the angle.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tan: Double
Trigonometric tangent of the angle.
- def toDoubleDegrees: Double
This angle in decimal degrees.
This angle in decimal degrees. Approximate, non-invertible.
- def toDoubleRadians: Double
This angle in decimal radian, [0 ..
This angle in decimal radian, [0 .. 2π) Approximate, non-invertible
- val toMicroarcseconds: Long
- def toSignedDoubleDegrees: Double
This angle in signed decimal degrees.
This angle in signed decimal degrees. Approximate, non-invertible
- def toSignedDoubleRadians: Double
This angle in signed decimal radians, [-π ..
This angle in signed decimal radians, [-π .. π) Approximate, non-invertible
- 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
- def unary_-: Angle
Additive inverse of this angle, equivalent to
mirrorBy Angle0.Additive inverse of this angle, equivalent to
mirrorBy Angle0. Exact, invertible. - 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])