Bitbybit Docs
    Preparing search index...

    Class ShortestAngleDto (Inputs.Math)

    Two angles and the size of a whole turn for math.shortestAngle.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalfrom: number
      • Optionalto: number
      • OptionalfullTurn: number

      Returns ShortestAngleDto

    Properties

    from?: number

    The angle the turn starts from, in the unit fullTurn sets.

    10
    

    -Infinity

    Infinity

    1

    to?: number

    The angle to arrive at, in the same unit as from; any number of whole turns may be added to it without changing the answer.

    350
    

    -Infinity

    Infinity

    1

    fullTurn?: number

    How large a whole turn is in the unit the angles use: 360 for degrees, two pi for radians.

    360
    

    0

    true

    Infinity

    1