pub enum SlabDepth {
Relative(ClipMargin),
Reach(Scalar),
}Expand description
How far a bounded half-space’s slab reaches past its plane on the kept side, measured perpendicular to the plane.
Variants§
Relative(ClipMargin)
The boundary’s own extent on the plane, its largest coordinate scaled by its longest axis there, times the margin: independent of the model’s units, and of everything the slab meets.
Reach(Scalar)
This distance: the reach of the subject the slab must cover, so that a boolean with the slab is the boolean with the half-space.
Trait Implementations§
impl Copy for SlabDepth
impl StructuralPartialEq for SlabDepth
Auto Trait Implementations§
impl Freeze for SlabDepth
impl RefUnwindSafe for SlabDepth
impl Send for SlabDepth
impl Sync for SlabDepth
impl Unpin for SlabDepth
impl UnsafeUnpin for SlabDepth
impl UnwindSafe for SlabDepth
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