Module core

Source
Expand description

Always-available scalar, transform, and bounds vocabulary.

Modules§

bounds
Axis-aligned bounds used by broad-phase algorithms.
operation
Small operation values shared by representation and algorithm contracts.
plane_frame
An in-plane coordinate frame: the boundary between 3D model space and a plane’s own 2D parameter space.
primitives
Coordinate, direction, transform, and analytic support types.
primitives2
Bounded two-dimensional primitives.
primitives3
Bounded three-dimensional primitives.
scalar
Scalar storage and explicit tolerance policy.
space_frame
A full 3D orthonormal frame: the boundary between model space and a local coordinate system with three axes.

Structs§

Aabb
Axis-aligned three-dimensional bounding box.
Aabb2
Axis-aligned two-dimensional bounding box.
Box3
An oriented box: the generalization of a rectangle to three dimensions.
Frame2
Right-handed 2D local frame. Algorithms validate orthonormality explicitly.
Frame3
Right-handed 3D local frame. Dirty imported frames remain representable.
Interval
A finite parameter interval. The endpoint order carries orientation.
Plane3
A plane represented by an origin and unit-normal candidate.
PlaneFrame
An origin and a right-handed orthonormal pair of in-plane axes.
Polygon2
A simple polygon in the XY-plane, without holes.
Polygon3
A simple polygon in three-dimensional space, without holes.
Ray3
A parametric three-dimensional ray.
Rectangle2
A rectangle in the XY-plane, possibly rotated.
Rectangle3
A planar rectangle in three-dimensional space.
SpaceFrame
An origin and a right-handed orthonormal triad of axes.
Tolerance
Linear and angular tolerance carried with an operation.
Triangle2
A two-dimensional triangle.
Triangle3
A three-dimensional triangle.

Enums§

BooleanOperator
Regularized boolean set operation on solids.
FrameError
Why a basis could not form an in-plane frame.
ToleranceError
Invalid tolerance input.

Type Aliases§

Mat3
Double-precision 3x3 matrix.
Mat4
Double-precision general 4x4 matrix, including projective transforms.
Point2
A semantic alias used when a value is a two-dimensional position.
Point3
A semantic alias used when a value is a three-dimensional position.
Scalar
Coordinate scalar stored by the format-neutral model.
Transform2
Double-precision 2D affine transform.
Transform3
Double-precision affine transform.
Vec2
Double-precision two-dimensional vector.
Vec3
Double-precision three-dimensional vector.