Module basis

Module basis 

Source
Expand description

Coordinate basis and reference frame utilities.

This module provides types and functions for working with coordinate systems and reference frames in 3D space. A basis represents a local coordinate system with its own origin and axis orientations.

§Examples

use rs_math3d::basis::{Basis, BasisPlane};
use rs_math3d::vector::Vector3;
 
// Create a basis at origin with default axes
let basis = Basis::<f32>::default();
 
// Create a basis with custom center
let center = Vector3::new(10.0, 5.0, 0.0);
let basis = Basis::default_with_center(&center);

Structs§

Basis
A 3D coordinate basis (reference frame).

Enums§

BasisPlane
Represents one of the three coordinate planes.