[−][src]Struct rust_3d::Mesh3D
Mesh3D, a mesh with tri-faces within 3D space
Trait Implementations
impl<P: Clone, ID: Clone, IC: Clone> Clone for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
impl<P: Debug, ID: Debug, IC: Debug> Debug for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
impl<P: Default, ID: Default, IC: Default> Default for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
impl<P: Eq, ID: Eq, IC: Eq> Eq for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
impl<P, ID, IC> From<(ID, IC)> for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
impl<P, ID, IC> HasBoundingBox3DMaybe for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P> + HasBoundingBox3DMaybe,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P> + HasBoundingBox3DMaybe,
IC: IsIndexContainer,
fn bounding_box_maybe(&self) -> Result<BoundingBox3D>
[src]
impl<P, ID, IC> HasCenterOfGravity3D for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P> + HasCenterOfGravity3D,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P> + HasCenterOfGravity3D,
IC: IsIndexContainer,
fn center_of_gravity(&self) -> Result<Point3D>
[src]
impl<P: Hash, ID: Hash, IC: Hash> Hash for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
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, ID, IC> Into<(ID, IC)> for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
impl<P, ID, IC> IsFaceEditableMesh<P, Face3> for Mesh3D<P, ID, IC> where
P: IsEditable3D + IsBuildable3D + Clone,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: IsEditable3D + IsBuildable3D + Clone,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
fn add_face(&mut self, v1: P, v2: P, v3: P) -> FId
[src]
fn try_add_connection(&mut self, vid1: VId, vid2: VId, vid3: VId) -> Result<FId>
[src]
fn reserve_faces(&mut self, n: usize)
[src]
impl<P, ID, IC> IsMatrix4Transformable for Mesh3D<P, ID, IC> where
P: Is3D + IsMatrix4Transformable + Clone,
ID: IsDataContainer<P> + IsMatrix4Transformable + Clone,
IC: IsIndexContainer,
[src]
P: Is3D + IsMatrix4Transformable + Clone,
ID: IsDataContainer<P> + IsMatrix4Transformable + Clone,
IC: IsIndexContainer,
impl<P, ID, IC> IsMesh<P, Face3> for Mesh3D<P, ID, IC> where
P: Is3D + Clone,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D + Clone,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
fn num_faces(&self) -> usize
[src]
fn num_vertices(&self) -> usize
[src]
fn face_vertex_ids(&self, faceid: FId) -> Result<Face3>
[src]
fn face_vertices(&self, faceid: FId) -> Result<[P; 3]>
[src]
fn vertex(&self, vertexid: VId) -> Result<P>
[src]
impl<P, ID, IC> IsMovable3D for Mesh3D<P, ID, IC> where
P: Is3D + IsMovable3D,
ID: IsDataContainer<P> + IsMovable3D,
IC: IsIndexContainer,
[src]
P: Is3D + IsMovable3D,
ID: IsDataContainer<P> + IsMovable3D,
IC: IsIndexContainer,
impl<P, ID, IC> IsScalable for Mesh3D<P, ID, IC> where
P: IsEditable3D,
ID: IsDataContainer<P> + IsScalable,
IC: IsIndexContainer,
[src]
P: IsEditable3D,
ID: IsDataContainer<P> + IsScalable,
IC: IsIndexContainer,
impl<P, ID, IC> IsVertexEditableMesh<P, Face3> for Mesh3D<P, ID, IC> where
P: IsEditable3D + IsBuildable3D + Clone,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: IsEditable3D + IsBuildable3D + Clone,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
fn add_vertex(&mut self, vertex: P) -> VId
[src]
fn change_vertex(&mut self, vid: VId, vertex: P) -> Result<()>
[src]
fn reserve_vertices(&mut self, n: usize)
[src]
impl<P: Ord, ID: Ord, IC: Ord> Ord for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
fn cmp(&self, other: &Mesh3D<P, ID, IC>) -> 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, ID: PartialEq, IC: PartialEq> PartialEq<Mesh3D<P, ID, IC>> for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
fn eq(&self, other: &Mesh3D<P, ID, IC>) -> bool
[src]
fn ne(&self, other: &Mesh3D<P, ID, IC>) -> bool
[src]
impl<P: PartialOrd, ID: PartialOrd, IC: PartialOrd> PartialOrd<Mesh3D<P, ID, IC>> for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
fn partial_cmp(&self, other: &Mesh3D<P, ID, IC>) -> Option<Ordering>
[src]
fn lt(&self, other: &Mesh3D<P, ID, IC>) -> bool
[src]
fn le(&self, other: &Mesh3D<P, ID, IC>) -> bool
[src]
fn gt(&self, other: &Mesh3D<P, ID, IC>) -> bool
[src]
fn ge(&self, other: &Mesh3D<P, ID, IC>) -> bool
[src]
impl<P, ID, IC> StructuralEq for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
impl<P, ID, IC> StructuralPartialEq for Mesh3D<P, ID, IC> where
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
[src]
P: Is3D,
ID: IsDataContainer<P>,
IC: IsIndexContainer,
Auto Trait Implementations
impl<P, ID, IC> RefUnwindSafe for Mesh3D<P, ID, IC> where
IC: RefUnwindSafe,
ID: RefUnwindSafe,
P: RefUnwindSafe,
IC: RefUnwindSafe,
ID: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, ID, IC> Send for Mesh3D<P, ID, IC> where
IC: Send,
ID: Send,
P: Send,
IC: Send,
ID: Send,
P: Send,
impl<P, ID, IC> Sync for Mesh3D<P, ID, IC> where
IC: Sync,
ID: Sync,
P: Sync,
IC: Sync,
ID: Sync,
P: Sync,
impl<P, ID, IC> Unpin for Mesh3D<P, ID, IC> where
IC: Unpin,
ID: Unpin,
P: Unpin,
IC: Unpin,
ID: Unpin,
P: Unpin,
impl<P, ID, IC> UnwindSafe for Mesh3D<P, ID, IC> where
IC: UnwindSafe,
ID: UnwindSafe,
P: UnwindSafe,
IC: UnwindSafe,
ID: 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, 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>,