Skip to main content

axiolid_evaluate/
lib.rs

1#![forbid(unsafe_code)]
2
3//! Analytic and spline curve/surface evaluation (ADR 0012, ADR 0036).
4//!
5//! This is the scalar evaluation oracle for parametric geometry: native-domain
6//! evaluation, derivatives, jets, adaptive flattening, and elementary surface
7//! inversion. It is deliberately separate from the `axiolid-reference`
8//! umbrella so a parametric consumer (NURBS, CAD) acquires evaluation without
9//! the umbrella's mesh, spatial, and measure dependencies.
10//!
11//! No intrinsics, no threading, no feature gates: it must stay obviously
12//! correct in preference to being fast.
13//!
14//! `axiolid-reference` re-exports [`curve`] and [`surface`] unchanged, so
15//! `axiolid_reference::curve::*` paths are part of this package's public
16//! surface too: renaming or reshaping an item here breaks those callers.
17
18pub mod arc_length;
19pub mod curve;
20pub mod frenet;
21pub mod intrinsic_relation;
22mod nurbs;
23pub mod polyline_length;
24pub mod provider;
25pub mod surface;
26
27pub use arc_length::{elevated_point, elevated_tangent, intrinsic_point, intrinsic_tangent};
28pub use curve::{derivative2, derivative3, evaluate2, evaluate3, flatten2, ScalarCurve};
29pub use frenet::{frenet_frame, frenet_point, frenet_tangent};
30pub use intrinsic_relation::{join_intrinsic3, offset_intrinsic3, trim_intrinsic3};
31pub use provider::ReferenceCurveEvaluator;
32pub use surface::{partials, Patch, ScalarSurface};