[−][src]Struct rust_3d::Polygon3D
Polygon3D, a polygon within 3D space
Trait Implementations
impl<P: Clone> Clone for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P: Debug> Debug for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P> Default for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P> Display for Polygon3D<P> where
P: Is3D + Display,
[src]
P: Is3D + Display,
impl<P: Eq> Eq for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P> From<PointCloud3D<P>> for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
fn from(pc: PointCloud3D<P>) -> Self
[src]
impl<P> HasBoundingBox3DMaybe for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
fn bounding_box_maybe(&self) -> Result<BoundingBox3D>
[src]
impl<P> HasCenterOfGravity3D for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
fn center_of_gravity(&self) -> Result<Point3D>
[src]
impl<P> HasLength for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P: Hash> Hash for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<P> IsEditablePolygon<P> for Polygon3D<P> where
P: Is3D + Clone,
[src]
P: Is3D + Clone,
fn add_vertex(&mut self, vertex: P) -> VId
[src]
fn change_vertex(&mut self, vertexid: VId, vertex: P) -> Result<()>
[src]
impl<P> IsMatrix4Transformable for Polygon3D<P> where
P: Is3D + IsMatrix4Transformable + Clone,
[src]
P: Is3D + IsMatrix4Transformable + Clone,
impl<P> IsMovable3D for Polygon3D<P> where
P: Is3D + IsMovable3D,
[src]
P: Is3D + IsMovable3D,
impl<P> IsPolygon<P> for Polygon3D<P> where
P: Is3D + Clone,
[src]
P: Is3D + Clone,
fn num_segments(&self) -> usize
[src]
fn segment_vertex_ids(&self, segmentid: SId) -> Result<(VId, VId)>
[src]
fn segment_vertices(&self, segmentid: SId) -> Result<(P, P)>
[src]
fn vertex(&self, vertexid: VId) -> Result<P>
[src]
fn num_vertices(&self) -> usize
[src]
impl<P> IsScalable for Polygon3D<P> where
P: IsEditable3D,
[src]
P: IsEditable3D,
impl<P: Ord> Ord for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
fn cmp(&self, other: &Polygon3D<P>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<P: PartialEq> PartialEq<Polygon3D<P>> for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P: PartialOrd> PartialOrd<Polygon3D<P>> for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
fn partial_cmp(&self, other: &Polygon3D<P>) -> Option<Ordering>
[src]
fn lt(&self, other: &Polygon3D<P>) -> bool
[src]
fn le(&self, other: &Polygon3D<P>) -> bool
[src]
fn gt(&self, other: &Polygon3D<P>) -> bool
[src]
fn ge(&self, other: &Polygon3D<P>) -> bool
[src]
impl<P> StructuralEq for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P> StructuralPartialEq for Polygon3D<P> where
P: Is3D,
[src]
P: Is3D,
Auto Trait Implementations
impl<P> RefUnwindSafe for Polygon3D<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for Polygon3D<P> where
P: Send,
P: Send,
impl<P> Sync for Polygon3D<P> where
P: Sync,
P: Sync,
impl<P> Unpin for Polygon3D<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for Polygon3D<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,