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

    Function findPolygonIntersections

    • Find the intersection of two segments if it exists

      Type Parameters

      • D extends Properties = Properties

      Parameters

      • vectorPolygons: VectorMultiPolygon<D>

        the collection of polygons

      • segment1: Segment

        the first segment

      • segment2: Segment

        the second segment

      Returns IntersectionOfSegmentsRobust<D> | undefined

      • the intersection if it exists. Undefined otherwise.