Struct stl_io::IndexedMesh [] [src]

pub struct IndexedMesh {
    pub vertices: Vec<Vertex>,
    pub faces: Vec<IndexedTriangle>,
}

STL Mesh in indexed form, consisting of a list of Vertices and a list of indexed Triangles.

Fields

List of vertices.

List of triangles..

Methods

impl IndexedMesh
[src]

[src]

Checks that the Mesh has no holes and no zero-area faces. Also makes sure that all triangles are faced in the same direction.

Trait Implementations

impl Clone for IndexedMesh
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for IndexedMesh
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for IndexedMesh
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.