Struct hapi_rs::volume::VolumeBounds
source · pub struct VolumeBounds {
pub x_min: f32,
pub y_min: f32,
pub z_min: f32,
pub x_max: f32,
pub y_max: f32,
pub z_max: f32,
pub x_center: f32,
pub y_center: f32,
pub z_center: f32,
}
Expand description
Volume primitive dimensions returned from crate::geometry::Geometry::volume_bounds()
Fields§
§x_min: f32
§y_min: f32
§z_min: f32
§x_max: f32
§y_max: f32
§z_max: f32
§x_center: f32
§y_center: f32
§z_center: f32
Trait Implementations§
source§impl Clone for VolumeBounds
impl Clone for VolumeBounds
source§fn clone(&self) -> VolumeBounds
fn clone(&self) -> VolumeBounds
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VolumeBounds
impl Debug for VolumeBounds
source§impl Default for VolumeBounds
impl Default for VolumeBounds
source§fn default() -> VolumeBounds
fn default() -> VolumeBounds
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for VolumeBounds
impl Send for VolumeBounds
impl Sync for VolumeBounds
impl Unpin for VolumeBounds
impl UnwindSafe for VolumeBounds
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