Struct stl_parser::Mesh
[−]
[src]
pub struct Mesh { pub triangles: Vec<Triangle>, }
Mesh. This will be generated from .stl
Fields
triangles: Vec<Triangle>
Methods
impl Mesh
[src]
fn new() -> Mesh
Produces empty mesh
fn from_ascii(data: String) -> Mesh
Give files text, not name
fn slice(&self, axis: Axis, point: f32) -> Slice
Trait Implementations
impl Debug for Mesh
[src]
impl Clone for Mesh
[src]
fn clone(&self) -> Mesh
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