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

    Function capFromS1Angle

    • Constructs a cap with the given center and radius. A negative radius yields an empty cap; a radius of 180 degrees or more yields a full cap (containing the entire sphere). "center" should be unit length.

      Type Parameters

      • T

      Parameters

      • center: VectorPoint

        the center point

      • radius: number

        the radius

      • data: T

        the data

      Returns S2Cap<T>

      • the cap