pub fn method_of<P>(outcome: &SegmentIntersection<P>) -> MethodExpand description
The Method implied by a raw segment-intersection outcome.
SegmentIntersection::Single→Method::Crosses(a proper crossing) — endpoint-touch refinement is applied separately byrefine_touchonce the segment endpoints are known.SegmentIntersection::Collinear→Method::Collinear.SegmentIntersection::Disjoint/SegmentIntersection::OutOfRange→Method::Disjoint(no turn should be emitted).
Mirrors the top-level case split in Boost’s get_turn_info
(get_turn_info.hpp).