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

Methods

impl Mesh
[src]

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/

Trait Implementations

impl Debug for Mesh
[src]

Formats the value using the given formatter.