pub struct Contour {
pub points: Vec<[f64; 3]>,
pub closed: bool,
}Expand description
A chain of points where a plane cuts a mesh.
Fields§
§points: Vec<[f64; 3]>Vertices in order. For a closed contour the first vertex is not repeated at the end.
closed: boolWhether the last vertex connects back to the first.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Contour
Auto Trait Implementations§
impl Freeze for Contour
impl RefUnwindSafe for Contour
impl Send for Contour
impl Sync for Contour
impl Unpin for Contour
impl UnsafeUnpin for Contour
impl UnwindSafe for Contour
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