Struct rust_3d::OcTree [] [src]

pub struct OcTree<P> where
    P: IsEditable3D + IsBuildable3D
{ pub root: Option<OcNode<P>>, pub min: P, pub max: P, }

OcTree

Fields

Trait Implementations

impl<P: Default> Default for OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

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

impl<P: Debug> Debug for OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

Formats the value using the given formatter.

impl<P: PartialEq> PartialEq for OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

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

This method tests for !=.

impl<P: PartialOrd> PartialOrd for OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

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

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

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

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

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 OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

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

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl<P: Eq> Eq for OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

impl<P: Clone> Clone for OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Hash> Hash for OcTree<P> where
    P: IsEditable3D + IsBuildable3D
[src]

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

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

impl<P> IsTree3D<P> for OcTree<P> where
    P: IsEditable3D + IsBuildableND + IsBuildable3D + Clone + Default
[src]

Should return the number of elements within the tree

Should return all positions within the tree as point cloud

Should create a new tree from a given point cloud

impl<P> IsOcTree<P> for OcTree<P> where
    P: IsEditable3D + IsBuildableND + IsBuildable3D + Clone + Default
[src]

Should return all positions up the given depth