pub enum Cut {
Own,
Box(Aabb),
None,
}Expand description
The box a universe opened on its own is cut to (Model::universe).
Variants§
Own
Around what the universe holds, measured (Model::extent of its
cells with a material or a fill) and widened by 1 %. Where its cells
are not bounded by their own surfaces (CAD cells often get finite
boxes only from the envelopes around them), measured within where
the model uses it, grown by half its size on every side, so that
parts the envelopes clip are seen.
Box(Aabb)
This box, in the universe’s frame.
None
No cut: the universe’s cells reach as far as the world box.
Trait Implementations§
impl Copy for Cut
impl StructuralPartialEq for Cut
Auto Trait Implementations§
impl Forget for Cut
impl Freeze for Cut
impl Move for Cut
impl RefUnwindSafe for Cut
impl Send for Cut
impl Sync for Cut
impl Unpin for Cut
impl UnsafeUnpin for Cut
impl UnwindSafe for Cut
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more