pub struct Bounds3 {
pub min: Vec3,
pub max: Vec3,
}Expand description
Axis-aligned bounds for a point cloud or mesh.
Fields§
§min: Vec3§max: Vec3Implementations§
Source§impl Bounds3
impl Bounds3
pub fn empty() -> Self
pub fn from_points<'a>( points: impl IntoIterator<Item = &'a Point>, ) -> Option<Self>
pub fn from_vertices<'a>( vertices: impl IntoIterator<Item = &'a Vertex>, ) -> Option<Self>
pub fn include(&mut self, p: Vec3)
Trait Implementations§
impl Copy for Bounds3
impl StructuralPartialEq for Bounds3
Auto Trait Implementations§
impl Freeze for Bounds3
impl RefUnwindSafe for Bounds3
impl Send for Bounds3
impl Sync for Bounds3
impl Unpin for Bounds3
impl UnsafeUnpin for Bounds3
impl UnwindSafe for Bounds3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more