pub enum SweepContactMode {
RotationMinimizing,
Fixed,
ConstantNormal(Vec3),
}Expand description
Contact mode for advanced sweep operations.
Determines how the profile is oriented as it moves along the path.
Variants§
RotationMinimizing
Rotation-minimizing frames (default, twist-free).
Fixed
Fixed orientation: profile does not rotate along the path.
ConstantNormal(Vec3)
Profile normal stays aligned to a given direction.
Trait Implementations§
Source§impl Clone for SweepContactMode
impl Clone for SweepContactMode
Source§fn clone(&self) -> SweepContactMode
fn clone(&self) -> SweepContactMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SweepContactMode
Source§impl Debug for SweepContactMode
impl Debug for SweepContactMode
Source§impl Default for SweepContactMode
impl Default for SweepContactMode
Source§fn default() -> SweepContactMode
fn default() -> SweepContactMode
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SweepContactMode
impl RefUnwindSafe for SweepContactMode
impl Send for SweepContactMode
impl Sync for SweepContactMode
impl Unpin for SweepContactMode
impl UnsafeUnpin for SweepContactMode
impl UnwindSafe for SweepContactMode
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