Skip to main content

Module line_intersection

Module line_intersection 

Source
Expand description

Public segment-intersection result with topology classification.

The predicate kernel computes zero, one, or two intersection points. This entry adds the proper-crossing distinction used by the turn classifier and converts an arithmetic range refusal into the public overlay error.

Enums§

LineIntersection
A non-empty intersection between two line segments.

Functions§

line_intersection
Intersect two segments and report proper, touch, and collinear cases.