Functions | |
| template<typename MeshTraits > | |
| PolyMesh_ArrayKernelT < MeshTraits > * | MeshDual (PolyMesh_ArrayKernelT< MeshTraits > &primal) |
| create a dual mesh | |
| PolyMesh_ArrayKernelT<MeshTraits>* OpenMesh::Util::MeshDual | ( | PolyMesh_ArrayKernelT< MeshTraits > & | primal | ) | [inline] |
create a dual mesh
This function takes a mesh and computes the dual mesh of it. Each face of the original mesh is replaced by a vertex at the center of gravity of the vertices of the face. Each vertex of the original mesh is replaced by a face containing the dual vertices of its primal adjacent faces.
Definition at line 88 of file meshDualT.hh.