pub enum HatchEdge {
Line {
start: Point3,
end: Point3,
},
Arc {
center: Point3,
radius: f64,
start_angle: f64,
end_angle: f64,
ccw: bool,
},
Ellipse {
center: Point3,
major_axis: Vec3,
ratio: f64,
start_param: f64,
end_param: f64,
ccw: bool,
},
Spline {
degree: u32,
knots: Vec<f64>,
control_points: Vec<Point3>,
weights: Vec<f64>,
},
Polyline {
vertices: Vec<Vertex>,
closed: bool,
},
}Expand description
A hatch boundary edge.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HatchEdge
impl<'de> Deserialize<'de> for HatchEdge
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
impl StructuralPartialEq for HatchEdge
Auto Trait Implementations§
impl Forget for HatchEdge
impl Freeze for HatchEdge
impl Move for HatchEdge
impl RefUnwindSafe for HatchEdge
impl Send for HatchEdge
impl Sync for HatchEdge
impl Unpin for HatchEdge
impl UnsafeUnpin for HatchEdge
impl UnwindSafe for HatchEdge
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