Skip to main content

Crate use_manifold

Crate use_manifold 

Source
Expand description

§use-manifold

Basic manifold vocabulary for the RustUse geometry workspace.

use-manifold provides metadata records for dimensions and boundary kinds. It does not attempt to be a differential-geometry engine.

§Example

use use_manifold::{BoundaryKind, Manifold, ManifoldDimension};

let manifold = Manifold::new(ManifoldDimension::new(2).unwrap(), BoundaryKind::WithoutBoundary);

assert_eq!(manifold.dimension().value(), 2);

Structs§

Manifold
A lightweight manifold descriptor.
ManifoldDimension
A non-negative manifold dimension.

Enums§

BoundaryKind
Boundary metadata for a manifold.