Module space_frame

Source
Expand description

A full 3D orthonormal frame: the boundary between model space and a local coordinate system with three axes.

§Why this exists alongside PlaneFrame

PlaneFrame answers “where is this point on that plane”. A SpaceFrame answers “what are this point coordinates in that local system”, keeping the third axis. Surface evaluation, sampled fields, and sectioning all need the second question.

Three call sites previously each rolled their own validity rule under a DIFFERENT tolerance policy, and only two of the three checked handedness. A left-handed basis passes every unit-length and perpendicularity test while mirroring the geometry, so omitting that check silently reflects whatever the frame maps.

Structs§

SpaceFrame
An origin and a right-handed orthonormal triad of axes.