pub struct CompressedPointCloud3D<T>{
pub start: Point3D,
pub unitsizex: f64,
pub unitsizey: f64,
pub unitsizez: f64,
pub data: Vec<CompressedPoint3D<T>>,
}
Expand description
CompressedPointCloud3D
Fields§
§start: Point3D
§unitsizex: f64
§unitsizey: f64
§unitsizez: f64
§data: Vec<CompressedPoint3D<T>>
Implementations§
Source§impl<T> CompressedPointCloud3D<T>
impl<T> CompressedPointCloud3D<T>
Sourcepub fn compress<P>(pc: &PointCloud3D<P>) -> Result<CompressedPointCloud3D<T>>where
P: Is3D,
pub fn compress<P>(pc: &PointCloud3D<P>) -> Result<CompressedPointCloud3D<T>>where
P: Is3D,
Creates a new CompressedPointCloud3D from a normal point cloud
Sourcepub fn decompress<P>(&self) -> PointCloud3D<P>where
P: IsBuildable3D,
pub fn decompress<P>(&self) -> PointCloud3D<P>where
P: IsBuildable3D,
Creates a new point cloud from this
Trait Implementations§
Source§impl<T> Clone for CompressedPointCloud3D<T>
impl<T> Clone for CompressedPointCloud3D<T>
Source§fn clone(&self) -> CompressedPointCloud3D<T>
fn clone(&self) -> CompressedPointCloud3D<T>
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<T> Debug for CompressedPointCloud3D<T>
impl<T> Debug for CompressedPointCloud3D<T>
Source§impl<T> PartialEq for CompressedPointCloud3D<T>
impl<T> PartialEq for CompressedPointCloud3D<T>
Source§impl<T> PartialOrd for CompressedPointCloud3D<T>
impl<T> PartialOrd for CompressedPointCloud3D<T>
impl<T> StructuralPartialEq for CompressedPointCloud3D<T>
Auto Trait Implementations§
impl<T> Freeze for CompressedPointCloud3D<T>
impl<T> RefUnwindSafe for CompressedPointCloud3D<T>where
T: RefUnwindSafe,
impl<T> Send for CompressedPointCloud3D<T>where
T: Send,
impl<T> Sync for CompressedPointCloud3D<T>where
T: Sync,
impl<T> Unpin for CompressedPointCloud3D<T>where
T: Unpin,
impl<T> UnwindSafe for CompressedPointCloud3D<T>where
T: UnwindSafe,
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