Struct rust_3d::CompressedPointCloud3D
[−]
[src]
pub struct CompressedPointCloud3D<T> where
T: Unsigned + PrimInt, { pub start: Point3D, pub unitsizex: f64, pub unitsizey: f64, pub unitsizez: f64, pub data: Vec<CompressedPoint3D<T>>, }
CompressedPointCloud3D
Fields
start: Point3D
unitsizex: f64
unitsizey: f64
unitsizez: f64
data: Vec<CompressedPoint3D<T>>
Methods
impl<T> CompressedPointCloud3D<T> where
T: Unsigned + PrimInt,
[src]
T: Unsigned + PrimInt,
fn compress<P>(pc: &PointCloud3D<P>) -> Result<CompressedPointCloud3D<T>> where
P: Is3D,
P: Is3D,
Creates a new CompressedPointCloud3D from a normal point cloud
fn decompress<P>(&self) -> PointCloud3D<P> where
P: Is3D + IsBuildable3D,
P: Is3D + IsBuildable3D,
Creates a new point cloud from this
Trait Implementations
impl<T: Debug> Debug for CompressedPointCloud3D<T> where
T: Unsigned + PrimInt,
[src]
T: Unsigned + PrimInt,
impl<T: Clone> Clone for CompressedPointCloud3D<T> where
T: Unsigned + PrimInt,
[src]
T: Unsigned + PrimInt,
fn clone(&self) -> CompressedPointCloud3D<T>
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<T: PartialEq> PartialEq for CompressedPointCloud3D<T> where
T: Unsigned + PrimInt,
[src]
T: Unsigned + PrimInt,
fn eq(&self, __arg_0: &CompressedPointCloud3D<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CompressedPointCloud3D<T>) -> bool
This method tests for !=
.
impl<T: PartialOrd> PartialOrd for CompressedPointCloud3D<T> where
T: Unsigned + PrimInt,
[src]
T: Unsigned + PrimInt,
fn partial_cmp(&self, __arg_0: &CompressedPointCloud3D<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &CompressedPointCloud3D<T>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &CompressedPointCloud3D<T>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &CompressedPointCloud3D<T>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &CompressedPointCloud3D<T>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more