Struct stl_io::IndexedTriangle
[−]
[src]
pub struct IndexedTriangle {
pub normal: Normal,
pub vertices: [usize; 3],
}STL Triangle in indexed form, consisting of a normal and three indices to vertices in the vertex list. This format is more compact, since in real world Meshes Triangles usually share vertices with other Triangles.
Fields
normal: Normal
Normal vector of the Triangle.
vertices: [usize; 3]
The indexed to the three vertices of the Triangle, when this is used in an IndexedMesh.
Trait Implementations
impl Clone for IndexedTriangle[src]
fn clone(&self) -> IndexedTriangle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for IndexedTriangle[src]
impl PartialEq for IndexedTriangle[src]
fn eq(&self, __arg_0: &IndexedTriangle) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &IndexedTriangle) -> bool
This method tests for !=.