Module geo.intersection
Robust segment and unbounded-line intersection classification and construction.
Date
September 12, 2026
Functions
| Name | Description |
|---|---|
lineIntersectionKind(first, second)
|
Classifies the exact topological relationship of two unbounded lines. |
segmentIntersectionKind(first, second)
|
Classifies the exact topological intersection of two closed segments. |
tryLineIntersectionPoint(first, second, point)
|
Constructs the unique intersection point of two valid unbounded lines. |
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 |
|---|---|
LineIntersectionKind
|
Topological classification of the intersection of two valid unbounded lines. |
SegmentIntersectionKind
|
Topological classification of the intersection of two closed segments. |
Aliases
| Name | Type | Description |
|---|---|---|
IntersectionScalar
|
double
|
Scalar used for constructed unique segment-intersection points. |