Expand description
Core library for working with space‑filling curves.
Exposes curve implementations and the SpaceCurve trait used by the CLI
and GUI crates in this workspace.
§Supported Curves
- Hilbert
- Z-order (Morton)
- Gray Code
- H-curve
- Scan (Boustrophedon)
- Onion / Hairy Onion (experimental)
Re-exports§
pub use curves::gray;pub use curves::hairyonion;pub use curves::hcurve;pub use curves::hilbert;pub use curves::onion;pub use curves::scan;pub use curves::zorder;pub use registry::CURVE_NAMES;pub use registry::curve_names;
Modules§
- curves
- Implementations of specific space‑filling curves. Modules implementing individual curve families.
- error
- Error types used across the crate.
Error types for the
spacecurvecrate. - point
- N‑dimensional points and helpers. Lightweight N‑dimensional point type used by curve implementations.
- registry
- Central registry of curve metadata and constructors.
- spacecurve
- The
SpaceCurvetrait and related utilities. TheSpaceCurvetrait describing a family of curves. - spec
- Grid specification helpers shared across curves. Grid specification helpers used by curve constructors and registry validation.
Functions§
- pattern_
from_ name - Construct a curve by name with the requested dimensionality and size.