pub struct Vertex {
pub position: Point3,
pub bulge: f64,
pub start_width: f64,
pub end_width: f64,
}Expand description
Polyline vertex.
Fields§
§position: Point3Position.
bulge: f64Bulge of the segment that starts here: tan(included angle / 4), 0 = straight.
start_width: f64Start width of the segment that starts here.
end_width: f64End width of the segment that starts here.
Implementations§
Trait Implementations§
impl Copy for Vertex
Source§impl<'de> Deserialize<'de> for Vertex
impl<'de> Deserialize<'de> for Vertex
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 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