Skip to main content

Module recognize_surface

Module recognize_surface 

Source
Expand description

Recognize NURBS surfaces as elementary analytic forms.

Ported from brepkit-heal/analysis/canonical.rs but expressed entirely in terms of brepkit-math types (no topology dependency). The result is a RecognizedSurface enum describing the best-fit analytic surface, or RecognizedSurface::NotRecognized when no match is found.

Enums§

DetectedSurfaceKind
Detected geometric kind of a NURBS surface (without recovering full analytic parameters). Cheaper than recognize_surface when you only need a type tag.
RecognizedSurface
The analytic surface form recognized from a NURBS surface.

Functions§

detect_surface_kind
Detect the geometric kind of a NURBS surface by sampling.
recognize_surface
Attempt to recognize a NURBS surface as an elementary analytic surface.