use-geometry
use-geometry is the feature-gated facade crate for the RustUse geometry workspace.
It reexports the focused child crates that make up the set so callers can depend on one crate for pure geometry primitives, descriptors, notation, validation errors, and direct measurement helpers while implementation stays split into explicit child crates.
The facade contains only crate-level documentation, public reexports, feature-gated child-crate
namespaces, and the prelude module. Many child crates begin with minimal primitives and metadata
rather than full algorithms.
Taxonomy
| Group | Reexported crates |
|---|---|
| Foundations | use-coordinate, use-dimension, use-angle, use-point |
| Affine and Euclidean primitives | use-bounds, use-line, use-ray, use-segment, use-plane, use-hyperplane, use-circle, use-sphere, use-hypersphere, use-torus |
| Transformations | use-transform, use-affine, use-projection, use-reflection, use-inversion |
| Metric and relational geometry | use-distance, use-orientation, use-intersection, use-containment, use-congruence, use-similarity, use-dihedral |
| Curves and conics | use-conic, use-curve, use-polyline, use-bezier, use-spline |
| Surfaces and manifolds | use-surface, use-manifold |
| Planar regions | use-triangle, use-rectangle, use-polygon |
| Polytopes and solids | use-simplex, use-orthotope, use-polytope, use-polyhedron, use-regular-polytope, use-archimedean, use-catalan-solid, use-johnson-solid |
| Polytope notation and classification | use-schlafli, use-wythoff, use-coxeter, use-uniform-polytope |
| Incidence, projective geometry, and configurations | use-incidence, use-projective, use-configuration, use-duality |
| Representations and complexes | use-mesh, use-face, use-cell, use-complex |
| Constructions and decompositions | use-hull, use-triangulation, use-tessellation, use-voronoi, use-delaunay |
| Folding and unfolding | use-folding, use-crease, use-origami, use-linkage, use-unfolding, use-rigid-folding, use-polyhedral-net |
Installation
[]
= "0.1.0"
The default feature set enables full, which reexports every child crate. Disable default features
when you want a smaller facade surface:
[]
= { = "0.1.0", = false, = ["point", "schlafli", "regular-polytope"] }
Every child crate has a matching feature name without the use- prefix. Hyphenated feature names
use underscore namespace modules, such as regular-polytope through use_geometry::regular_polytope.
The line feature depends on the use-line package while exposing the use_line library through
use_geometry::line.
Example
#
#
#
#
Notes
- Root exports are feature-gated reexports from child crates.
- Namespace modules such as
point,schlafli, andregular_polytopemirror child crates. - The prelude reexports the same child crate surface through enabled features.
- Named objects belong inside family crates, not standalone crates.
use-vectorremains in theuse-mathworkspace and is used directly by child crates that need vector types.use-complexin this workspace means geometric complex and cell-complex vocabulary, not complex numbers.