Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines angle representation

Hierarchy

  • Angle

Index

Constructors

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

    Parameters

    • radians: number

      the angle in radians

    Returns Angle

Methods

  • degrees(): number
  • Get value in degrees

    Returns number

    the Angle value in degrees (float)

  • radians(): number
  • Get value in radians

    Returns number

    the Angle value in radians (float)

  • Gets a new Angle object valued with the gradient angle, in radians, of the line joining two points

    Parameters

    Returns Angle

    a new Angle

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

    Parameters

    • degrees: number

      defines the angle value in degrees

    Returns Angle

    a new Angle

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

    Parameters

    • radians: number

      defines the angle value in radians

    Returns Angle

    a new Angle

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme