struct cogs::MeshOperations
Overview
A class that provides common operations over cogs::Mesh. More…
#include <MeshOperations.h> struct MeshOperations { // methods static bool HasDisconnectedPoints(const cogs::Mesh& mesh); static bool RemoveDisconnectedPoints(cogs::Mesh& mesh); };
Detailed Documentation
A class that provides common operations over cogs::Mesh.
Methods
static bool HasDisconnectedPoints(const cogs::Mesh& mesh)
Check Mesh for whether it has points that are not vertices of its triangulation.
static bool RemoveDisconnectedPoints(cogs::Mesh& mesh)
Remove all points from the point-cloud of a specified Mesh so that only those that are vertices in the Mesh triangulation remain.
Method changes the ordering of points.
Function does not remove invalid triangles. Its execution may still result in an invalid Mesh.
Returns:
Success flag.