pub struct SectionChain {
pub points: Vec<[f64; 3]>,
pub outward: Vec<[f64; 3]>,
pub closed: bool,
}Expand description
One connected polyline of a mesh’s section by a plane, in the mesh’s own frame.
Fields§
§points: Vec<[f64; 3]>In order along the chain; a closed chain does not repeat its first point.
outward: Vec<[f64; 3]>At each point, the unit direction in the plane pointing out of the material.
closed: boolTrait Implementations§
Source§impl Clone for SectionChain
impl Clone for SectionChain
Source§impl Debug for SectionChain
impl Debug for SectionChain
Source§impl Default for SectionChain
impl Default for SectionChain
Source§impl<'de> Deserialize<'de> for SectionChain
impl<'de> Deserialize<'de> for SectionChain
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 SectionChain
impl PartialEq for SectionChain
Source§impl Serialize for SectionChain
impl Serialize for SectionChain
impl StructuralPartialEq for SectionChain
Auto Trait Implementations§
impl Forget for SectionChain
impl Freeze for SectionChain
impl Move for SectionChain
impl RefUnwindSafe for SectionChain
impl Send for SectionChain
impl Sync for SectionChain
impl Unpin for SectionChain
impl UnsafeUnpin for SectionChain
impl UnwindSafe for SectionChain
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