Expand description
Feature-gated facade for Axiolid geometry.
Nothing is compiled unless it is asked for: default = [], so a consumer
names the capability they need and pays for that alone (kernel#9). Building
with no feature at all raises a compile_error! listing the options rather
than leaving an empty crate whose every call site fails as “not found”.
standard reproduces the pre-0.4 default (mesh + cpu + integration) for
consumers who want the old behaviour in one line.
Features are additive and named for geometry capabilities. No feature or bundle is named after a source format, vendor or downstream product, and every package behind a feature stays usable as a direct dependency.
§Exact geometry is the primary currency
No entry point in this facade converts exact geometry into a mesh unless the caller asked for one and supplied a tolerance. Tessellation is a requested OUTPUT, never a fallback:
generate::GenerationRequest::ExactBRepcarries no tolerance field, so a mesh cannot be produced for it. A request it cannot satisfy exactly is refused rather than approximated.generate::TessellationRequestandTessellationOptionshave noDefault. There is no global chord error to fall back to, because acceptable error depends on source units and downstream use.- A tessellated result carries the tolerance it was built to, so an approximation cannot later be mistaken for an exact value.
tests/exact_primary.rs holds this to account (kernel#36).
Modules§
- application
- Supported provider-neutral application boundary. Supported application boundary for the portable v0.4 workflows.
- brep
- Strict exact B-rep results with typed analytic support catalogs and native trim intervals. Tessellation remains an explicit, tolerance-bearing output.
- contracts
- core
- Always-available scalar, transform, and bounds vocabulary.
- cpu
- curve
- dispatch
- evaluate
- General NURBS analysis, inverse-query, and exact transformation algorithms. Scalar evaluation for parametric curves and surfaces.
- field
- Frame-neutral sampled layered-field values and configuration.
- field_
ops - Sampling, morphology, clearance, and optional navigation over layered fields.
- generate
- Geometry generation: discrete sweeps plus focused certified trimmed arrangements.
- gpu
- graph_
compile - heal
- integration
- Versioned description of the compiled downstream surface. Capability handshake for the feature set compiled into the facade.
- linear
- linear_
intersection - Certified linear intersection queries.
- measure
- mesh
- mesh_
boolean - mesh_
contracts - mesh_
section - model
- nurbs
- overlay
- pointcloud
- Point-sampled geometry: scans and photogrammetry captures.
- pointcloud_
reconstruction - Turning point-sampled geometry into a surface.
- predicates
- primitive
- profile
- project
- Planar projection of meshes: projected outlines and vertical prism intersection.
- ray_
index - Caller-held broad-phase index for repeated ray casts. Cached broad phase for repeated ray casts against the same mesh.
- ray_
mesh - Narrow-phase ray/triangle-mesh nearest-hit intersection.
- route
- Exact planar shortest paths over a visibility graph, with typed unreachable reasons.
- spatial
- surface
- tessellation
- topology
Structs§
- Aabb
- Axis-aligned three-dimensional bounding box.
- Tolerance
- Linear and angular tolerance carried with an operation.
Type Aliases§
- Point2
- A semantic alias used when a value is a two-dimensional position.
- Point3
- A semantic alias used when a value is a three-dimensional position.
- Scalar
- Coordinate scalar stored by the format-neutral model.
- Transform3
- Double-precision affine transform.
- Vec2
- Double-precision two-dimensional vector.
- Vec3
- Double-precision three-dimensional vector.