Struct dxf::Point
[−]
[src]
pub struct Point { pub x: f64, pub y: f64, pub z: f64, }
Represents a simple point in Cartesian space.
Fields
x: f64
The X value of the point.
y: f64
The Y value of the point.
z: f64
The Z value of the point.
Methods
impl Point
[src]
fn new(x: f64, y: f64, z: f64) -> Point
Creates a new Point
with the specified values.
fn origin() -> Point
Returns a point representing the origin of (0, 0, 0).
Trait Implementations
impl Clone for Point
[src]
fn clone(&self) -> Point
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