Enum e57::CartesianCoordinate
source · pub enum CartesianCoordinate {
Valid {
x: f64,
y: f64,
z: f64,
},
Direction {
x: f64,
y: f64,
z: f64,
},
Invalid,
}Expand description
Structure for Cartesian coordinates with an X, Y and Z value.
Variants§
Valid
The Cartesian coordinate is fully valid.
Direction
The Cartesian coordinate only contains a direction vector. Be careful, the vector might not be normalized!
Invalid
The Cartesian coordinate is fully invalid and has no meaning or the point cloud had no cartesian coordinates in general.
Trait Implementations§
source§impl Clone for CartesianCoordinate
impl Clone for CartesianCoordinate
source§fn clone(&self) -> CartesianCoordinate
fn clone(&self) -> CartesianCoordinate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CartesianCoordinate
impl Debug for CartesianCoordinate
source§impl PartialEq for CartesianCoordinate
impl PartialEq for CartesianCoordinate
impl StructuralPartialEq for CartesianCoordinate
Auto Trait Implementations§
impl Freeze for CartesianCoordinate
impl RefUnwindSafe for CartesianCoordinate
impl Send for CartesianCoordinate
impl Sync for CartesianCoordinate
impl Unpin for CartesianCoordinate
impl UnwindSafe for CartesianCoordinate
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)