//! Bounded geometry trait.
usenalgebra::RealField;usestd::borrow::Cow;usecrate::{error::Result,geometry::Aabb};/// Types implementing this type can be bounded by an axis-aligned bounding box (`Aabb`).
pubtraitBounded<T: RealField + Copy> {/// Get the axis-aligned bounding box of the geometry.
////// # Errors
////// Returns an error if the bounding box calculation fails due to invalid
/// geometry parameters or mathematical operations.
fnaabb(&self)->Result<Cow<Aabb<T>>>;}