Skip to main content

segment_triangle_relation

Function segment_triangle_relation 

Source
pub fn segment_triangle_relation(
    start: Point3,
    end: Point3,
    triangle: [Point3; 3],
) -> SegmentTriangleRelation
Expand description

Classify a segment against a triangle using certified orientation signs.

No tolerance is accepted: this reports the exact topology of the supplied binary64 coordinates. Nearness is a metric/policy question for the caller.