[][src]Struct rust_3d::CompressedPointCloud3D

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: Point3Dunitsizex: f64unitsizey: f64unitsizez: f64data: Vec<CompressedPoint3D<T>>

Implementations

impl<T> CompressedPointCloud3D<T> where
    T: Unsigned + PrimInt
[src]

pub fn compress<P>(pc: &PointCloud3D<P>) -> Result<CompressedPointCloud3D<T>> where
    P: Is3D
[src]

Creates a new CompressedPointCloud3D from a normal point cloud

pub fn decompress<P>(&self) -> PointCloud3D<P> where
    P: IsBuildable3D
[src]

Creates a new point cloud from this

Trait Implementations

impl<T: Clone> Clone for CompressedPointCloud3D<T> where
    T: Unsigned + PrimInt
[src]

impl<T: Debug> Debug for CompressedPointCloud3D<T> where
    T: Unsigned + PrimInt
[src]

impl<T: PartialEq> PartialEq<CompressedPointCloud3D<T>> for CompressedPointCloud3D<T> where
    T: Unsigned + PrimInt
[src]

impl<T: PartialOrd> PartialOrd<CompressedPointCloud3D<T>> for CompressedPointCloud3D<T> where
    T: Unsigned + PrimInt
[src]

impl<T> StructuralPartialEq for CompressedPointCloud3D<T> where
    T: Unsigned + PrimInt
[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.