pub struct Polyline {
pub contains_vertices: bool,
pub location: Point,
pub thickness: f64,
pub flags: i32,
pub default_starting_width: f64,
pub default_ending_width: f64,
pub polygon_mesh_m_vertex_count: i32,
pub polygon_mesh_n_vertex_count: i32,
pub smooth_surface_m_density: i32,
pub smooth_surface_n_density: i32,
pub surface_type: PolylineCurvedAndSmoothSurfaceType,
pub normal: Vector,
/* private fields */
}Fields§
§contains_vertices: bool§location: Point§thickness: f64§flags: i32§default_starting_width: f64§default_ending_width: f64§polygon_mesh_m_vertex_count: i32§polygon_mesh_n_vertex_count: i32§smooth_surface_m_density: i32§smooth_surface_n_density: i32§surface_type: PolylineCurvedAndSmoothSurfaceType§normal: VectorImplementations§
Source§impl Polyline
impl Polyline
pub fn is_closed(&self) -> bool
pub fn set_is_closed(&mut self, val: bool)
pub fn curve_fit_vertices_added(&self) -> bool
pub fn set_curve_fit_vertices_added(&mut self, val: bool)
pub fn spline_fit_vertices_added(&self) -> bool
pub fn set_spline_fit_vertices_added(&mut self, val: bool)
pub fn is_3d_polyline(&self) -> bool
pub fn set_is_3d_polyline(&mut self, val: bool)
pub fn is_3d_polygon_mesh(&self) -> bool
pub fn set_is_3d_polygon_mesh(&mut self, val: bool)
pub fn is_polygon_mesh_closed_in_n_direction(&self) -> bool
pub fn set_is_polygon_mesh_closed_in_n_direction(&mut self, val: bool)
pub fn is_polyface_mesh(&self) -> bool
pub fn set_is_polyface_mesh(&mut self, val: bool)
pub fn is_line_type_pattern_generated_continuously(&self) -> bool
pub fn set_is_line_type_pattern_generated_continuously(&mut self, val: bool)
Trait Implementations§
impl StructuralPartialEq for Polyline
Auto Trait Implementations§
impl Freeze for Polyline
impl RefUnwindSafe for Polyline
impl Send for Polyline
impl Sync for Polyline
impl Unpin for Polyline
impl UnsafeUnpin for Polyline
impl UnwindSafe for Polyline
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more