#[non_exhaustive]pub enum RuledSide {
Curve {
curve: NodeId,
interval: Interval,
},
Apex(Point3),
}Expand description
One side of a ruled surface (#402).
A side is read over u in [0, 1]; the two sides of a
SurfaceRelation::Ruled are joined at equal u.
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.
Curve
An atomic Curve3 node run over interval, oriented (a reversed
interval is allowed): u reads the curve at
interval.start + u (interval.end - interval.start).
Apex(Point3)
Every ruling ends at this point.
Trait Implementations§
impl Copy for RuledSide
Source§impl<'de> Deserialize<'de> for RuledSide
impl<'de> Deserialize<'de> for RuledSide
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for RuledSide
Auto Trait Implementations§
impl Freeze for RuledSide
impl RefUnwindSafe for RuledSide
impl Send for RuledSide
impl Sync for RuledSide
impl Unpin for RuledSide
impl UnsafeUnpin for RuledSide
impl UnwindSafe for RuledSide
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