Skip to main content

triangle_triangle_intersection

Function triangle_triangle_intersection 

Source
pub fn triangle_triangle_intersection(
    a0: [f64; 3],
    a1: [f64; 3],
    a2: [f64; 3],
    b0: [f64; 3],
    b1: [f64; 3],
    b2: [f64; 3],
) -> TriTriResult
Expand description

Test if two triangles intersect using Möller’s method.

Returns the intersection type and geometry.