pub struct PureVectorConstraint;Expand description
Constraint: point is a pure vector (only grade 1 components)
In GA3 basis indices:
- 0 = scalar, 1 = e1, 2 = e2, 3 = e12, 4 = e3, 5 = e13, 6 = e23, 7 = e123
- Vector components are at indices 1, 2, 4 (e1, e2, e3)
Trait Implementations§
Source§impl ManifoldConstraint for PureVectorConstraint
impl ManifoldConstraint for PureVectorConstraint
Source§fn description(&self) -> &str
fn description(&self) -> &str
Description of this constraint
Auto Trait Implementations§
impl Freeze for PureVectorConstraint
impl RefUnwindSafe for PureVectorConstraint
impl Send for PureVectorConstraint
impl Sync for PureVectorConstraint
impl Unpin for PureVectorConstraint
impl UnsafeUnpin for PureVectorConstraint
impl UnwindSafe for PureVectorConstraint
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> 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