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

    Function capContainsS2Point

    • Returns true if the cap contains the given point. NOTE: The point "p" should be a unit-length vector.

      Type Parameters

      • T

      Parameters

      • cap: S2Cap<T>

        the cap

      • p: VectorPoint

        the point

      Returns boolean

      • true if the cap contains the point