pub fn triangle_plane(
a: [f64; 3],
b: [f64; 3],
c: [f64; 3],
plane_point: [f64; 3],
normal: [f64; 3],
tol: f64,
) -> Option<([f64; 3], [f64; 3])>Expand description
The intersection of triangle abc with a plane as a segment (p, q), if the plane cuts the
triangle properly (crosses it, or contains exactly one of its edges). Triangles lying in the
plane, or touching it at a single vertex, give None. Distances are signed against the plane
through plane_point with normal; values within tol of zero count as on the plane.