brepkit-geometry
Curve and surface sampling, extrema, and analytic/NURBS conversion.
Part of brepkit, a solid modeling kernel for Rust and WebAssembly.
Layer L1. Depends only on brepkit-math.
Full API reference on docs.rs, including how to choose a sampler.
Three subsystems:
- sampling: uniform, deflection-adaptive, arc-length-uniform, and curvature-adaptive curve sampling, plus surface grids.
- extrema: point-to-curve projection, curve-to-curve and point-to-surface distance, segment-segment distance, and a Lipschitz global optimizer.
- convert: analytic geometry to NURBS, and recognition of NURBS back into analytic curves and surfaces.
Stability
Internal. This crate is published so that brepkit-operations resolves from
crates.io, not because its API is meant to be called directly. Treat it as
private and expect breakage on any release. Depend on
brepkit-operations instead.
See STABILITY.md.
License
AGPL-3.0-only, or a commercial license for proprietary use.