Module geo.intersection

Robust segment-intersection classification and construction.

Date

September 12, 2026

Functions

NameDescription
segmentIntersectionKind(first, second) Classifies the exact topological intersection of two closed segments.
trySegmentIntersectionOverlap(first, second, overlap) Constructs the positive-length collinear overlap of two closed segments.
trySegmentIntersectionPoint(first, second, point) Constructs the unique intersection point of two closed segments.

Enums

NameDescription
SegmentIntersectionKind Topological classification of the intersection of two closed segments.

Aliases

NameTypeDescription
IntersectionScalar double Scalar used for constructed unique segment-intersection points.