Struct rust_3d::PointCloud3D [] [src]

pub struct PointCloud3D<P> where
    P: Is3D
{ pub data: Vec<P>, }

PointCloud3D, a collection of positions within 3D space

Fields

Methods

impl<P> PointCloud3D<P> where
    P: Is3D
[src]

[src]

Creates a new, empty point cloud

[src]

Creates a new, empty point cloud with capacity

[src]

Serializes the point cloud

[src]

Applies a function to each position

impl<P> PointCloud3D<P> where
    P: IsBuildable3D + Clone
[src]

[src]

Creates a new point cloud from an input string

[src]

Appends all elements of an IsRandomAccessible

Trait Implementations

impl<P: Default> Default for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Returns the "default value" for a type. Read more

impl<P: Debug> Debug for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Formats the value using the given formatter. Read more

impl<P: PartialEq> PartialEq for PointCloud3D<P> where
    P: Is3D
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<P: PartialOrd> PartialOrd for PointCloud3D<P> where
    P: Is3D
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<P: Ord> Ord for PointCloud3D<P> where
    P: Is3D
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<P: Eq> Eq for PointCloud3D<P> where
    P: Is3D
[src]

impl<P: Clone> Clone for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<P: Hash> Hash for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<P> Index<usize> for PointCloud3D<P> where
    P: Is3D
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<P> IndexMut<usize> for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Performs the mutable indexing (container[index]) operation.

impl<P> IsRandomAccessible<P> for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Should return the number of elements within the collection

impl<P> IsRandomInsertible<P> for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Should push an element to the end of collection

[src]

Should insert an element at the given index

impl<P> IsMovable3D for PointCloud3D<P> where
    P: Is3D + IsMovable3D
[src]

[src]

Should move the object by the given offset

impl<P> HasBoundingBox3D for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Should return the bounding box as a pair of two points. The first point should be the minimum for all coordinates, the second the maximum for all coordinates

impl<P> HasCenterOfGravity3D for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Should return the center of gravity

impl<P> HasLength for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Should return the physical length

impl<P> IsViewBuildable for PointCloud3D<P> where
    P: Is3D + Clone
[src]

[src]

Should apply the view and only keep items indexed within the view. Should return an error if any index is out of bounds

[src]

Should create a new object consisting only of items indexed within the view. Should return an error if any index is out of bounds

impl<P> IsSortableND for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Should return the number of dimensions. E.g. 2 for 2D space, 3 for 3D space etc.

[src]

Should sort all elements by the given dimension

impl<P> IsSortable3D for PointCloud3D<P> where
    P: Is3D
[src]

[src]

Should sort all elements by x

[src]

Should sort all elements by y

[src]

Should sort all elements by z

impl<P> IsMergeable for PointCloud3D<P> where
    P: Is3D + Clone
[src]

[src]

Should merge other into this

[src]

Should return a combination of this and other

impl<P> Display for PointCloud3D<P> where
    P: Is3D + Display
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<P> Send for PointCloud3D<P> where
    P: Send

impl<P> Sync for PointCloud3D<P> where
    P: Sync