Skip to main content

intersect_plane_analytic

Function intersect_plane_analytic 

Source
pub fn intersect_plane_analytic(
    surface: AnalyticSurface<'_>,
    normal: Vec3,
    d: f64,
) -> Result<Vec<IntersectionCurve>, MathError>
Expand description

Intersect a plane with an analytic surface.

The plane is defined by dot(normal, p) = d.

ยงErrors

Returns an error if the intersection computation fails.