pub struct SectionCurve {
pub curve: ProjectedEdge,
pub points: Vec<[f64; 3]>,
pub reversed: bool,
}Expand description
One curve where a plane crosses a shape.
Fields§
§curve: ProjectedEdgeThe exact curve, in the plane’s own 2D coordinates.
points: Vec<[f64; 3]>Points along it, in the shape’s own frame, in the order its run goes.
reversed: boolThe run goes against the way curve runs.
Trait Implementations§
Source§impl Clone for SectionCurve
impl Clone for SectionCurve
Source§impl Debug for SectionCurve
impl Debug for SectionCurve
Source§impl<'de> Deserialize<'de> for SectionCurve
impl<'de> Deserialize<'de> for SectionCurve
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 SectionCurve
impl PartialEq for SectionCurve
Source§impl Serialize for SectionCurve
impl Serialize for SectionCurve
impl StructuralPartialEq for SectionCurve
Auto Trait Implementations§
impl Forget for SectionCurve
impl Freeze for SectionCurve
impl Move for SectionCurve
impl RefUnwindSafe for SectionCurve
impl Send for SectionCurve
impl Sync for SectionCurve
impl Unpin for SectionCurve
impl UnsafeUnpin for SectionCurve
impl UnwindSafe for SectionCurve
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