gis-tools-ts - v0.6.0
    Preparing search index...

    Function chordAngFastUpperBoundFrom

    • Construct an S1ChordAngle that is an upper bound on the given S1Angle. i.i. such that FastUpperBoundFrom(x).toAngle() >= x. Unlike the S1Angle constructor above, this method is very fast, and the bound is accurate to within 1% for distances up to about 3100km on the Earth's surface.

      Parameters

      • angle: number

        The S1Angle.

      Returns number

      The corresponding S1ChordAngle.