Struct dxf::entities::Spline
[−]
[src]
pub struct Spline { pub normal: Vector, pub flags: i32, pub degree_of_curve: i32, pub knot_tolerance: f64, pub control_point_tolerance: f64, pub fit_tolerance: f64, pub start_tangent: Point, pub end_tangent: Point, pub knot_values: Vec<f64>, pub weight: f64, pub control_points: Vec<Point>, pub fit_points: Vec<Point>, // some fields omitted }
Fields
normal: Vector
flags: i32
degree_of_curve: i32
knot_tolerance: f64
control_point_tolerance: f64
fit_tolerance: f64
start_tangent: Point
end_tangent: Point
knot_values: Vec<f64>
weight: f64
control_points: Vec<Point>
fit_points: Vec<Point>
Methods
impl Spline
[src]
fn get_is_closed(&self) -> bool
fn set_is_closed(&mut self, val: bool)
fn get_is_periodic(&self) -> bool
fn set_is_periodic(&mut self, val: bool)
fn get_is_rational(&self) -> bool
fn set_is_rational(&mut self, val: bool)
fn get_is_planar(&self) -> bool
fn set_is_planar(&mut self, val: bool)
fn get_is_linear(&self) -> bool
fn set_is_linear(&mut self, val: bool)
Trait Implementations
impl Clone for Spline
[src]
fn clone(&self) -> Spline
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Spline
[src]
impl PartialEq for Spline
[src]
fn eq(&self, __arg_0: &Spline) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Spline) -> bool
This method tests for !=
.