virtualx-engine/thirdparty/thekla_atlas/nvmesh/param/Util.h
Hein-Pieter van Braam bf05309af7 Import thekla_atlas
As requested by reduz, an import of thekla_atlas into thirdparty/
2017-12-08 15:47:15 +01:00

18 lines
558 B
C++

// This code is in the public domain -- castano@gmail.com
#include "nvmesh/nvmesh.h"
namespace nv {
namespace HalfEdge { class Mesh; class Vertex; }
bool isQuadMesh(const HalfEdge::Mesh * mesh);
bool isTriangularMesh(const HalfEdge::Mesh * mesh);
uint countMeshTriangles(const HalfEdge::Mesh * mesh);
const HalfEdge::Vertex * findBoundaryVertex(const HalfEdge::Mesh * mesh);
HalfEdge::Mesh * unifyVertices(const HalfEdge::Mesh * inputMesh);
HalfEdge::Mesh * triangulate(const HalfEdge::Mesh * inputMesh);
} // nv namespace