Skip to main content

Crate spacecurve

Crate spacecurve 

Source
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)

Modules§

curves
Implementations of specific space‑filling curves. Modules implementing individual curve families.
error
Error types used across the crate. Error types for the spacecurve crate.
point
N‑dimensional points and helpers. Lightweight N‑dimensional point type used by curve implementations.
registry
Central registry of curve metadata and constructors.
spec
Grid specification helpers shared across curves. Grid specification helpers used by curve constructors and registry validation.

Traits§

SpaceCurve
SpaceCurve is the core trait for space‑filling curves.

Functions§

curve_from_name
Construct a curve by name with the requested dimensionality and size.