[][src]Struct rust_3d::Polygon3D

pub struct Polygon3D<P> where
    P: Is3D
{ /* fields omitted */ }

Polygon3D, a polygon within 3D space

Trait Implementations

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

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

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

impl<P> IsEditablePolygon<P> for Polygon3D<P> where
    P: Is3D + Clone
[src]

impl<P> IsMatrix4Transformable for Polygon3D<P> where
    P: Is3D + IsMatrix4Transformable + Clone
[src]

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

impl<P> IsPolygon<P> for Polygon3D<P> where
    P: Is3D + Clone
[src]

fn num_vertices(&self) -> usize[src]

Returns the number of vertices within the polygon

impl<P> IsScalable for Polygon3D<P> where
    P: IsEditable3D
[src]

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

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

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

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

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

Restrict a value to a certain interval. Read more

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

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

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

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

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

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

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

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

Auto Trait Implementations

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

impl<P> Unpin for Polygon3D<P> where
    P: Unpin

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

impl<P> UnwindSafe for Polygon3D<P> where
    P: UnwindSafe

impl<P> RefUnwindSafe for Polygon3D<P> where
    P: RefUnwindSafe

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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