Skip to main content

segment_plane

Function segment_plane 

Source
pub fn segment_plane(
    a: [f64; 3],
    b: [f64; 3],
    plane_point: [f64; 3],
    normal: [f64; 3],
) -> Option<[f64; 3]>
Expand description

Segment-plane intersection point, if the segment a-b crosses or touches the plane in a single point.