Developer Documentation
|
Functions for getting information about a mesh. More...
#include <vector>
Go to the source code of this file.
Functions | |
template<typename MeshT > | |
MeshT::HalfedgeHandle | MeshNavigation::opposite_halfedge (MeshT &_mesh, typename MeshT::HalfedgeHandle _he) |
template<typename MeshT > | |
MeshT::VertexHandle | MeshNavigation::findClosestBoundary (MeshT *_mesh, typename MeshT::VertexHandle _vh) |
Find the closest boundary vertex to another vertex. More... | |
Functions for getting information about a mesh.
Functions for Navigation on a Mesh.
Definition in file MeshNavigationT.hh.
|
inline |
Find the closest boundary vertex to another vertex.
This function will start at a single vertex and walk across the edges of the mesh to find a vertex on the boundary. The vertex at the boundary with the minimal number of edges to be traversed to reach the starting vertex is returned. If no vertex is found (i.e. no boundary), an invalid VertexHandle is returned.
_mesh | Mesh to work on |
_vh | Start vertex handle |
Definition at line 83 of file MeshNavigationT_impl.hh.
|
inline |
For Valence 6 Vertices Only!! iterates 3 Halfedges around from Vertex of _he. Returns the he on the other side
_mesh | Mesh to work on |
_he | Outgoing halfedge of Vertex to iterate around |
Definition at line 72 of file MeshNavigationT_impl.hh.