pub enum CurveSource {
Sketch {
plane: ProfilePlane,
wire: ProfileWire,
},
Edge(EdgeProbe),
BodyEdge {
brep: Vec<u8>,
edge: EdgeProbe,
transform: Option<Box<[[f64; 4]; 4]>>,
},
}Expand description
A curve a surface is built from.
Variants§
Sketch
A chain of a sketch’s curves, open or closed, on its plane.
Edge(EdgeProbe)
An edge of the body’s own shape as it stands where the step comes, found as a fillet’s picked edges are.
BodyEdge
An edge of another body’s shape: brep is that body’s snapshot,
edge finds the edge in its own frame, and transform (a rigid
row-major 4×4 matrix) carries it to where it sits in this chain’s
frame, when the two bodies are placed differently.
Trait Implementations§
Source§impl Clone for CurveSource
impl Clone for CurveSource
Source§impl Debug for CurveSource
impl Debug for CurveSource
Source§impl<'de> Deserialize<'de> for CurveSource
impl<'de> Deserialize<'de> for CurveSource
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
Source§impl PartialEq for CurveSource
impl PartialEq for CurveSource
Source§impl Serialize for CurveSource
impl Serialize for CurveSource
impl StructuralPartialEq for CurveSource
Auto Trait Implementations§
impl Forget for CurveSource
impl Freeze for CurveSource
impl Move for CurveSource
impl RefUnwindSafe for CurveSource
impl Send for CurveSource
impl Sync for CurveSource
impl Unpin for CurveSource
impl UnsafeUnpin for CurveSource
impl UnwindSafe for CurveSource
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