spatialrust_transform/lib.rs
1//! Geometric transforms and cloud utilities for SpatialRust.
2//!
3//! Affine transforms, recentering and scale normalization, cloud merging, and
4//! bounding-volume computation — the small operations every pipeline needs.
5
6#![deny(unsafe_code)]
7#![warn(missing_docs)]
8
9#[cfg(feature = "transform-ops")]
10mod bounds;
11#[cfg(feature = "transform-ops")]
12mod ops;
13
14#[cfg(feature = "transform-ops")]
15pub use bounds::{Aabb, Obb};
16#[cfg(feature = "transform-ops")]
17pub use ops::{
18 apply_transform, bounding_box, centroid, merge_clouds, normalize_unit_sphere,
19 oriented_bounding_box, recenter, scale_cloud,
20};