Repository navigation
[0.9.0 - 2026-09-29]
Added
- New
affn::transformmodule with typed inter-reference-system transforms
Transform<FromCenter, FromFrame, ToCenter, ToFrame, Op>wrapping existing
affine operators (Rotation3,Translation3,Isometry3). - Shape-specialized
Transform::newon valid operator/tag combinations only
(frame-onlyRotation3, center-onlyTranslation3, rigidIsometry3). op,into_op,apply,Mul<Position>,then, andinversefor applying
and composing typed transforms.- Operator composition via
ComposeAfter(thenappliesselffirst, then
next; mixed rotation/translation pairs promote toIsometry3). - Convenience aliases
FrameTransform,CenterTransform, andRigidTransform. - Compile-fail rustdoc examples for invalid shapes, non-
AffineCenterusage,
mismatched application, and incompatible composition.
Notes
-
Transformlives ataffn::transform::Transform(not re-exported from the
crate root or prelude). -
Center-changing transforms require
AffineCenterwithParams = ().
Frame-onlyRotation3transforms accept anyReferenceCenterand preserve
parameterizedcenter_params. -
Use fully-qualified
Transform::<…>::new(op)when the compiler cannot infer
the transform shape from context. -
Re-export
qttyasaffn::qttyso consumers can use the exact quantity types fromaffn's public API without a separate directqttydependency (#27).