Packages

final class Angle extends AnyVal with AngleLike with ProdDbl1

Angle value class. Its particularly important not to use this class to represent Latitudes as the Angle class has a normal range +- 180 degrees, while Latitudes have a normal range +- 90 degrees.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Angle
  2. ProdDbl1
  3. AngleLike
  4. AnyVal
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def *(factor: Double): Angle
  4. def +(other: Angle): Angle
  5. def -(other: Angle): Angle
  6. def /(factor: Double): Angle
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  8. def _1: Double
    Definition Classes
    ProdDbl1
    Annotations
    @inline()
  9. def addRadians(other: Double): Angle
  10. def angleTo(other: Angle): Angle

    returns an angle between -Pi and Pi

  11. def arcDistance(radiusDist: Dist): Dist
    Definition Classes
    AngleLike
  12. def arcLength(radius: Double): Double

    Gives the length of the circumference of the arc.

  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def bisect(operand: Angle): Angle

    This is gives the smaller of the bisection angles

  15. def cos: Double

    The cosine value of this angle.

    The cosine value of this angle.

    Definition Classes
    AngleLike
    Annotations
    @inline()
  16. def dblValue: Double
    Definition Classes
    AngleProdDbl1
    Annotations
    @inline()
  17. def degStr2: String
  18. final def degs: Double

    The value of this angle expressed in degrees.

    The value of this angle expressed in degrees.

    Definition Classes
    AngleLike
    Annotations
    @inline()
  19. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def radians: Double

    The value of the angle expressd in radians.

    The value of the angle expressd in radians.

    Definition Classes
    AngleLike
    Annotations
    @inline()
  22. val secs: Double

    The angle expressed in 36 millionths of a degree.

    The angle expressed in 36 millionths of a degree.

    Definition Classes
    AngleAngleLike
  23. def sin: Double

    The sine value of this angle.

    The sine value of this angle.

    Definition Classes
    AngleLike
    Annotations
    @inline()
  24. def subRadians(other: Double): Angle
  25. def toString(): String
    Definition Classes
    Angle → Any
  26. def toVec2(magnitude: Double): Vec2

    Creates a Vec2 from this Angle for the given scalar magnitude parameter.

  27. def unary_-: Angle
    Annotations
    @inline()

Inherited from ProdDbl1

Inherited from AngleLike

Inherited from AnyVal

Inherited from Any

Ungrouped