[−][src]Trait rust_3d::IsMesh
IsMesh is trait used for meshes
Required methods
fn num_faces(&self) -> usize
Should return the number of faces within the mesh
fn num_vertices(&self) -> usize
Should return the number of vertices within the mesh
fn face_vertex_ids(&self, faceid: FId) -> Result<TU>
Should return the ids of vertices of the given face
fn face_vertices(&self, faceid: FId) -> Result<[V; 3]>
Should return the vertices of the given face
fn vertex(&self, vertexid: VId) -> Result<V>
Should return the vertex with the given id
Implementors
impl<M, T, IC> IsMesh<T, Face3> for SearchableMesh<M, T, IC> where
M: IsMesh<T, Face3>,
IC: IsIndexContainer,
[src]
M: IsMesh<T, Face3>,
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<[T; 3]>
[src]
fn vertex(&self, vertexid: VId) -> Result<T>
[src]
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,