s2js
    Preparing search index...

    Function successor

    • Returns the smallest representable ChordAngle larger than this one. This can be used to convert a "<" comparison to a "<=" comparison.

      Note the following special cases:

      NegativeChordAngle.Successor == 0
      StraightChordAngle.Successor == InfChordAngle
      InfChordAngle.Successor == InfChordAngle
      

      Parameters

      • c: number

      Returns number