pub struct Chain3d {
pub edges: Vec<ProfileEdge>,
pub closed: bool,
}Expand description
Curves of a 3-D sketch joined end to end: an open chain, or a closed one
whose last curve ends where the first starts. Each curve runs forwards
or, reversed, backwards along the chain.
Fields§
§edges: Vec<ProfileEdge>§closed: boolImplementations§
Source§impl Chain3d
impl Chain3d
Sourcepub fn to_nurbs(
&self,
sketch: &Sketch3d,
geometry: &Enclosure3d,
) -> GeopResult<Vec<Piece3d>>
pub fn to_nurbs( &self, sketch: &Sketch3d, geometry: &Enclosure3d, ) -> GeopResult<Vec<Piece3d>>
The chain as NURBS pieces, each on [0, 1] and starting exactly
where the one before ends — the sketch’s points at geometry —
named after the sketch’s curves and points (see Piece3d).
Trait Implementations§
impl Eq for Chain3d
impl StructuralPartialEq for Chain3d
Auto Trait Implementations§
impl Freeze for Chain3d
impl RefUnwindSafe for Chain3d
impl Send for Chain3d
impl Sync for Chain3d
impl Unpin for Chain3d
impl UnsafeUnpin for Chain3d
impl UnwindSafe for Chain3d
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