pub struct HalfSpace {
pub boundary: Plane3,
pub agreement: bool,
}Expand description
One side of an infinite plane.
Fields§
§boundary: Plane3Boundary plane.
agreement: booltrue selects the normal side, false the opposite side.
Trait Implementations§
Source§impl From<HalfSpace> for GeometryNode
impl From<HalfSpace> for GeometryNode
Source§fn from(value: HalfSpace) -> GeometryNode
fn from(value: HalfSpace) -> GeometryNode
Converts to this type from the input type.
impl BuiltInNode for HalfSpace
impl Copy for HalfSpace
impl StructuralPartialEq for HalfSpace
Auto Trait Implementations§
impl Freeze for HalfSpace
impl RefUnwindSafe for HalfSpace
impl Send for HalfSpace
impl Sync for HalfSpace
impl Unpin for HalfSpace
impl UnwindSafe for HalfSpace
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