Util.h 558 B

12345678910111213141516171819
  1. // This code is in the public domain -- castano@gmail.com
  2. #include "nvmesh/nvmesh.h"
  3. namespace nv {
  4. namespace HalfEdge { class Mesh; class Vertex; }
  5. bool isQuadMesh(const HalfEdge::Mesh * mesh);
  6. bool isTriangularMesh(const HalfEdge::Mesh * mesh);
  7. uint countMeshTriangles(const HalfEdge::Mesh * mesh);
  8. const HalfEdge::Vertex * findBoundaryVertex(const HalfEdge::Mesh * mesh);
  9. HalfEdge::Mesh * unifyVertices(const HalfEdge::Mesh * inputMesh);
  10. HalfEdge::Mesh * triangulate(const HalfEdge::Mesh * inputMesh);
  11. } // nv namespace