pub struct Vertex {
pub at: P3,
pub bulge: f64,
pub start_width: f64,
pub end_width: f64,
}Expand description
a vertex of a polyline: its point (OCS for 2D polylines, WCS for 3D), the bulge of the segment that starts here (the tangent of a quarter of its arc’s angle, positive: counter-clockwise), the widths at its start and end
Fields§
§at: P3§bulge: f64§start_width: f64§end_width: f64Trait Implementations§
impl Copy for Vertex
impl StructuralPartialEq for Vertex
Auto Trait Implementations§
impl Forget for Vertex
impl Freeze for Vertex
impl Move for Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnsafeUnpin for Vertex
impl UnwindSafe for Vertex
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