Surface_mesh  1.0
A simple and efficient halfedge-based mesh data structure
surface_mesh::Surface_mesh::Edge Struct Reference

#include <Surface_mesh.h>

Inheritance diagram for surface_mesh::Surface_mesh::Edge:
surface_mesh::Surface_mesh::Base_handle

Public Member Functions

 Edge (int _idx=-1)
 default constructor (with invalid index)
 
- Public Member Functions inherited from surface_mesh::Surface_mesh::Base_handle
 Base_handle (int _idx=-1)
 constructor
 
int idx () const
 Get the underlying index of this handle.
 
void reset ()
 reset handle to be invalid (index=-1)
 
bool is_valid () const
 return whether the handle is valid, i.e., the index is not equal to -1.
 
bool operator== (const Base_handle &_rhs) const
 are two handles equal?
 
bool operator!= (const Base_handle &_rhs) const
 are two handles different?
 
bool operator< (const Base_handle &_rhs) const
 compare operator useful for sorting handles
 

Detailed Description

this type represents an edge (internally it is basically an index)

See also
Vertex, Halfedge, Face

The documentation for this struct was generated from the following file: