OpenMesh
|
This section will show how to build your own custom mesh type using Eigen3 vectors for points, normals or other entities.
First of all you need to include the Eigen header shipped with OpenMesh:
This header contains the external functions and vector traits used by OpenMesh.
Afterwards you can specify your mesh:
Now you can use mesh as any other OpenMesh while using Eigen vectors as the underlying data type.