@taylorhmorris/geometry
    Preparing search index...

    Class VectorBeta

    A class for a Vector

    Index

    Constructors

    Properties

    x: number
    y: number

    Accessors

    • get direction(): number
      Beta

      The direction of the Vector in radians, between -PI and PI

      Returns number

    • set direction(angle: number): void
      Beta

      Parameters

      • angle: number

      Returns void

    Methods

    • Beta

      Rotates the Vector by a given angle

      Parameters

      • deltaAngle: number

        the desired change in the angle (in radians)

      Returns void

    • Beta

      Returns string

      the string representation of the Vector