Skip to main content

plane_signed_dist

Function plane_signed_dist 

Source
pub fn plane_signed_dist(plane: [f64; 4], point: [f64; 3]) -> f64
Expand description

Signed distance from point to the plane [nx, ny, nz, d].

Positive on the side the normal points toward.