Struct hedge::Mesh
[−]
[src]
pub struct Mesh { pub edge_list: Vec<Edge>, pub vertex_list: Vec<Vertex>, pub face_list: Vec<Face>, }
Implements the fundamental storage operations and represents the principle grouping of all components.
Fields
edge_list: Vec<Edge>
vertex_list: Vec<Vertex>
face_list: Vec<Face>
Methods
impl Mesh
[src]
fn new() -> Mesh
Creates a new Mesh with an initial component added to each Vec.
The idea behind having a single invalid component at the front of each Vec comes from the blog http://ourmachinery.com/post/defaulting-to-zero/