Added a chapter about the navigation on a mesh.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@231 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
13
Doc/Examples/nav_code2.cc
Normal file
13
Doc/Examples/nav_code2.cc
Normal file
@@ -0,0 +1,13 @@
|
||||
// Test if a halfedge lies at a boundary (is not adjacent to a face)
|
||||
bool is_boundary (HalfedgeHandle _heh) const
|
||||
|
||||
// Test if an edge lies at a boundary
|
||||
bool is_boundary (EdgeHandle _eh) const
|
||||
|
||||
// Test if a vertex is adjacent to a boundary edge
|
||||
bool is_boundary (VertexHandle _vh) const
|
||||
|
||||
// Test if a face has at least one adjacent boundary edge.
|
||||
// If _check_vertex=true, this function also tests if at least one
|
||||
// of the adjacent vertices is a boundary vertex
|
||||
bool is_boundary (FaceHandle _fh, bool _check_vertex=false) const
|
||||
Reference in New Issue
Block a user