Struct half_edge_mesh::face::Face[][src]

pub struct Face {
    pub edge: EdgePtr,
    pub normal: Vector3<f32>,
    pub center: Point3<f32>,
    pub id: u32,
}

Fields

Methods

impl Face
[src]

Computes the attributes (normal and center) of this face Note: this only works when the edges and verts are properly connected So wait for the right time during initialization to run this When a face or faces are added to a half edge mesh with one of the provided functions, this function is called, so that the face attributes are correct. TODO: Decide what to do with a degenerate face

Important traits for FaceAdjacentVertIterator

Iterates over the vertices which make up the face in counterclockwise order

Important traits for FaceAdjacentEdgeIterator

Iterates over the edges which make up the face in counterclockwise order

Important traits for FaceAdjacentFaceIterator

Iterates over the faces adjacent to this face in counterclockwise order

Trait Implementations

impl Debug for Face
[src]

Formats the value using the given formatter. Read more

impl PartialEq<Face> for Face
[src]

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

This method tests for !=.

impl Eq for Face
[src]

impl Hash for Face
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for Face

impl !Sync for Face