Module geometry

Source
Expand description

Geometric traits and primitives.

These traits are used to support geometric operations in generators and graphs. Implementing these traits implicitly implements internal traits, which in turn enable geometric features.

To use types as geometry in a MeshGraph only requires implementing the Geometry trait. Implementing operations like Cross and Normalize for the Vertex attribute enables geometric features like extrusion, centroids, midpoints, etc.

Modules§

alias
compose
Higher order geometric traits.
convert
ops
query

Structs§

Duplet
Homogeneous duplet.
Ray
Triplet
Homogeneous triplet.

Traits§

Geometry
Graph geometry.
Space

Functions§

lerp