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]

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IndexedMesh
[src]

Formats the value using the given formatter. Read more

impl PartialEq for IndexedMesh
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for IndexedMesh

impl Sync for IndexedMesh