#include <MRIdentifyVertices.h>
Public Member Functions | |
| MRMESH_API void | reserve (size_t numTris) |
| prepare identification of vertices from given this number of triangles | |
| MRMESH_API void | addTriangles (const std::vector< Triangle3f > &buffer) |
| identifies vertices from a chunk of triangles | |
| size_t | numTris () const |
| returns the number of triangles added so far | |
| Triangulation | takeTriangulation () |
| obtains triangulation with vertex ids | |
| VertCoords | takePoints () |
| obtains coordinates of unique points in the order of vertex ids | |
this class is responsible for giving a unique id to each vertex with distinct coordinates NOTE: the points are considered non-identical if they have the same values but have zero values with different signs (e.g. (0; 0; 1) and (-0; 0; 1)) use Vector3::unsignZeroValues method to get rid of signed zero values if you're unsure of their absence