s2js
    Preparing search index...

    Function predecessor

    • Returns the largest representable ChordAngle less than this one.

      Note the following special cases:

      InfChordAngle.Predecessor == StraightChordAngle
      ChordAngle(0).Predecessor == NegativeChordAngle
      NegativeChordAngle.Predecessor == NegativeChordAngle
      

      Parameters

      • c: number

      Returns number