|
|
|
|
@ -131,6 +131,10 @@ template<class Vertex, size_t vertexSize = Vertex::Size> class Clean {
|
|
|
|
|
be melt together. |
|
|
|
|
|
|
|
|
|
Removes duplicate vertices from the mesh. |
|
|
|
|
|
|
|
|
|
@todo Different (no cycle) implementation for integral vertices |
|
|
|
|
@todo Interpolate vertices, not collapse them to first in the cell |
|
|
|
|
@todo Ability to specify other attributes for interpolation |
|
|
|
|
*/ |
|
|
|
|
template<class Vertex, size_t vertexSize = Vertex::Size> inline void clean(std::vector<unsigned int>& indices, std::vector<Vertex>& vertices, typename Vertex::Type epsilon = TypeTraits<typename Vertex::Type>::epsilon()) { |
|
|
|
|
Implementation::Clean<Vertex, vertexSize>(indices, vertices)(epsilon); |
|
|
|
|
|