Commit bf84ecd6 authored by Jan Möbius's avatar Jan Möbius

Documentation for the functions is_trimesh and is_polymesh

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@207 fdac6126-5c0c-442c-9429-916003d36597
parent 57ca2d5c
......@@ -93,7 +93,7 @@ public:
//--- item types ---
//@{
/// Determine whether this is a PolyMeshT or TriMeshT
/// Determine whether this is a PolyMeshT or TriMeshT ( This function does not check the per face vertex count! It only checks if the datatype is PolyMeshT or TriMeshT )
enum { IsPolyMesh = 1 };
enum { IsTriMesh = 0 };
static bool is_polymesh() { return true; }
......
......@@ -96,7 +96,7 @@ public:
typedef PolyMeshT<Kernel> PolyMesh;
//@{
/// Determine whether this is a PolyMeshT or TriMeshT
/// Determine whether this is a PolyMeshT or TriMeshT ( This function does not check the per face vertex count! It only checks if the datatype is PolyMeshT or TriMeshT )
enum { IsPolyMesh = 0 };
enum { IsTriMesh = 1 };
static bool is_polymesh() { return false; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment