Module metric

Source
Expand description

Geometric measurement and spatial relationships.

This module defines core spatial metrics describing spatial properties in an orthogonal coordinate system, enabling structured traversal and measurement in geometric spaces.

Structs§

Angle
An angle represents a fraction of a full rotation.
Distance
A separation between two locations in D-dimensional space.
Extent
An orthogonal extension in D-space without a coordinate position.
Orientation
A unitless directional vector in D-dimensional space.
Position
A location in D-dimensional space.
Region
A Positioned Extent.
RegionStrided
A Strided Region defining structured traversal.
Stride
A step size for traversing dimensions or repetitions.

Enums§

AngleDirection
The direction of rotation of an angle.
AngleKind
The kind of [Angle], based on its normalized turn.

Type Aliases§

Extent2d
A 2-dimensional Extent.
Extent3d
A 3-dimensional Extent.
Region2d
A 2-dimensional Region.
Region3d
A 3-dimensional Region.