Function invert_surface_certified

Source
pub fn invert_surface_certified(
    surface: &BSplineSurface,
    point: Point3,
    options: CertifiedSurfaceProjectionOptions,
) -> GeomResult<Result<SurfaceInversionCertificate3, SurfaceInversionRefusal>>
Expand description

Globally invert a point against a clamped B-spline surface.

Returns Ok(Ok(..)) only when the point is proven on the surface AND the minimizer cover proves the parameters are unique.

A structurally sound refusal is Ok(Err(..)), not Err: an ambiguous or off-surface point is a real answer about the geometry. Err is reserved for invalid input and exhausted budgets.