Skip to main content

distance_to_plane

Function distance_to_plane 

Source
pub fn distance_to_plane(
    point: &Vector3<f64>,
    normal: &Vector3<f64>,
    origin: &Vector3<f64>,
) -> f64
Expand description

Compute the distance from a point to a plane defined by a normal and an origin point.