OpenMesh::Util Namespace Reference

Functions

template<typename MeshTraits >
PolyMesh_ArrayKernelT
< MeshTraits > * 
MeshDual (PolyMesh_ArrayKernelT< MeshTraits > &primal)
 create a dual mesh

Function Documentation

template<typename MeshTraits >
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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:21 2013