@openhps/geospatial
    Preparing search index...

    Function segmentsProperlyIntersect

    • Tests whether two segments cross at a single interior point (collinear overlaps and endpoint touches are not proper intersections).

      Parameters

      • a1: Point2

        First segment start

      • a2: Point2

        First segment end

      • b1: Point2

        Second segment start

      • b2: Point2

        Second segment end

      • Optionalepsilon: number = 1e-9

        Orientation tolerance

      Returns boolean

      true when the segments properly cross