Module geo.intersection
Robust segment-intersection classification and construction.
Date
September 12, 2026
Functions
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
SegmentIntersectionKind
|
Topological classification of the intersection of two closed segments. |
Aliases
| Name | Type | Description |
|---|---|---|
IntersectionScalar
|
double
|
Scalar used for constructed unique segment-intersection points. |