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.
- Alphabetic
- By Inheritance
- HourAngle
- Angle
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(ha: HourAngle): HourAngle
Sum of this HourAngle and
ha.Sum of this HourAngle and
ha. Exact, commutative, invertible. - def +(a: Angle): Angle
Sum of this angle and
a.Sum of this angle and
a. Exact, commutative, invertible.- Definition Classes
- Angle
- def -(ha: HourAngle): HourAngle
Difference of this HourAngle and
ha.Difference of this HourAngle and
ha. Exact, invertible. - def -(a: Angle): Angle
Difference of this angle and
a.Difference of this angle and
a. Exact, invertible.- Definition Classes
- Angle
- 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.
- Definition Classes
- Angle
- 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.
Trigonometric cosine of the angle.
- Definition Classes
- 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 .. π]
- Definition Classes
- Angle
- 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: HourAngle
Flip this HourAngle by 12h.
- 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.- Definition Classes
- Angle
- 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.
- Definition Classes
- Angle
- def offsetInQ: Offset
This angle as an offset in q.
This angle as an offset in q. Exact, invertible.
- Definition Classes
- Angle
- def p: P
This angle as an Offset.P.
This angle as an Offset.P. Exact, invertible.
- Definition Classes
- Angle
- def q: Q
This angle as an Offset.Q.
This angle as an Offset.Q. Exact, invertible.
- Definition Classes
- Angle
- def sin: Double
Trigonometric sine of the angle.
Trigonometric sine of the angle.
- Definition Classes
- Angle
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tan: Double
Trigonometric tangent of the angle.
Trigonometric tangent of the angle.
- Definition Classes
- Angle
- def toDoubleDegrees: Double
This angle in decimal degrees.
This angle in decimal degrees. Approximate, non-invertible.
- Definition Classes
- Angle
- def toDoubleHours: Double
This
HourAnglein decimal hours.This
HourAnglein decimal hours. Approximate. - def toDoubleRadians: Double
This angle in decimal radian, [0 ..
This angle in decimal radian, [0 .. 2π) Approximate, non-invertible
- Definition Classes
- Angle
- val toMicroarcseconds: Long
- Definition Classes
- Angle
- def toMicroseconds: Long
This
HourAnglein microseconds.This
HourAnglein microseconds. Exact. - def toSignedDoubleDegrees: Double
This angle in signed decimal degrees.
This angle in signed decimal degrees. Approximate, non-invertible
- Definition Classes
- Angle
- def toSignedDoubleRadians: Double
This angle in signed decimal radians, [-π ..
This angle in signed decimal radians, [-π .. π) Approximate, non-invertible
- Definition Classes
- Angle
- def toString(): String
String representation of this HourAngle, for debugging purposes only.
- def unary_-: HourAngle
Additive inverse of this HourAngle (by mirroring around the 0-12h axis).
- 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])