Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, MeshBuilder.VertexIdentifier arg0) |
None | addTriangles (self, std_vector_std_array_Vector3_float_3ul buffer) |
int | numTris (self) |
None | reserve (self, int numTris) |
VertCoords | takePoints (self) |
Triangulation | takeTriangulation (self) |
Generated from: MR::MeshBuilder::VertexIdentifier 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
None meshlib.mrmeshpy.MeshBuilder.VertexIdentifier.__init__ | ( | self | ) |
Implicit default constructor.
None meshlib.mrmeshpy.MeshBuilder.VertexIdentifier.__init__ | ( | self, | |
MeshBuilder.VertexIdentifier | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.MeshBuilder.VertexIdentifier.addTriangles | ( | self, | |
std_vector_std_array_Vector3_float_3ul | buffer ) |
identifies vertices from a chunk of triangles
int meshlib.mrmeshpy.MeshBuilder.VertexIdentifier.numTris | ( | self | ) |
returns the number of triangles added so far
None meshlib.mrmeshpy.MeshBuilder.VertexIdentifier.reserve | ( | self, | |
int | numTris ) |
prepare identification of vertices from given this number of triangles
VertCoords meshlib.mrmeshpy.MeshBuilder.VertexIdentifier.takePoints | ( | self | ) |
obtains coordinates of unique points in the order of vertex ids
Triangulation meshlib.mrmeshpy.MeshBuilder.VertexIdentifier.takeTriangulation | ( | self | ) |
obtains triangulation with vertex ids