#[non_exhaustive]pub enum SurfaceRelation {
CurveBounded {
basis: NodeId,
boundaries: Vec<NodeId>,
implicit_outer: bool,
},
RectangularTrimmed {
basis: NodeId,
u: (Scalar, Scalar),
v: (Scalar, Scalar),
u_sense: bool,
v_sense: bool,
},
Offset {
basis: NodeId,
distance: Scalar,
self_intersect: Option<bool>,
},
LinearExtrusion {
swept_curve: NodeId,
direction: Vec3,
},
Revolution {
swept_curve: NodeId,
axis_origin: Point3,
axis_direction: Vec3,
},
}Expand description
Relationship between surface nodes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CurveBounded
Surface bounded by oriented curve nodes.
RectangularTrimmed
Rectangular parameter-space trim.
Offset
Constant-distance offset surface.
LinearExtrusion
Surface generated by translating a curve.
Revolution
Surface generated by revolving a curve around an axis.
Trait Implementations§
Source§impl Clone for SurfaceRelation
impl Clone for SurfaceRelation
Source§fn clone(&self) -> SurfaceRelation
fn clone(&self) -> SurfaceRelation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurfaceRelation
impl Debug for SurfaceRelation
Source§impl From<SurfaceRelation> for GeometryNode
impl From<SurfaceRelation> for GeometryNode
Source§fn from(value: SurfaceRelation) -> Self
fn from(value: SurfaceRelation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SurfaceRelation
impl PartialEq for SurfaceRelation
impl BuiltInNode for SurfaceRelation
impl StructuralPartialEq for SurfaceRelation
Auto Trait Implementations§
impl Freeze for SurfaceRelation
impl RefUnwindSafe for SurfaceRelation
impl Send for SurfaceRelation
impl Sync for SurfaceRelation
impl Unpin for SurfaceRelation
impl UnwindSafe for SurfaceRelation
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