Angle

Hierarchy

  • Angle

Index

Constructors

constructor

  • new Angle(radians: number): Angle
  • Creates an Angle object of "radians" radians (float).

    Parameters

    • radians: number

    Returns Angle

Properties

degrees

degrees: function

Returns the Angle value in degrees (float).

Type declaration

    • (): number
    • Returns number

radians

radians: function

Returns the Angle value in radians (float).

Type declaration

    • (): number
    • Returns number

Methods

Static BetweenTwoPoints

  • Returns a new Angle object valued with the angle value in radians between the two given vectors.

    Parameters

    Returns Angle

Static FromDegrees

  • FromDegrees(degrees: number): Angle
  • Returns a new Angle object from the given float in degrees.

    Parameters

    • degrees: number

    Returns Angle

Static FromRadians

  • FromRadians(radians: number): Angle
  • Returns a new Angle object from the given float in radians.

    Parameters

    • radians: number

    Returns Angle

Generated using TypeDoc