Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, MeshBuilder.VertInfo arg0) |
| bool | areTwinChains (self, int numTris) |
| bool | duplicationNeeded (self) |
| bool | hasRepeatedVerts (self) |
| int | maxVertRepetitions (self) |
| int | numChains (self) |
| int | numClosedChains (self) |
| int | numOpenChains (self) |
| int | numRepeatedVerts (self) |
| None | setNumChains (self, int openChains, int closedChains) |
| None | setNumRepeatedVerts (self, int repeatedVerts, int maxVertRepetitions) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| MeshBuilder.VertInfo | operator (*args, **kwargs) |
| MeshBuilder.VertInfo | operator (*args, **kwargs) |
Static Public Attributes | |
| typing | maxMaxVertRepetitions = 32767 |
| typing | maxNumClosedChains = 32767 |
| typing | maxNumOpenChains = 65535 |
| typing | maxNumRepeatedVerts = 65535 |
Generated from: MR::MeshBuilder::VertInfo classification of the triangles around one vertex, packed in 32 bits; it stores 1-bit flag (hasRepeatedVerts) and either 31-bit numRepeatedVerts (if the flag is on), or 16-bit numOpenChains and 15-bit numClosedChains (if the flag is off)
|
static |
| None mrmeshpy.MeshBuilder.VertInfo.__init__ | ( | self | ) |
| None mrmeshpy.MeshBuilder.VertInfo.__init__ | ( | self, | |
| MeshBuilder.VertInfo | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.MeshBuilder.VertInfo.areTwinChains | ( | self, | |
| int | numTris ) |
tests for the case when every triangle around central vertex is present twice, if the chains are closed, the copy triangles have always same or always opposite orientation, if the chains are open, the copy triangles have always same orientation, so every neighbour vertex is repeated
| bool mrmeshpy.MeshBuilder.VertInfo.duplicationNeeded | ( | self | ) |
true if the triangles around the vertex do not form a configuration MeshBuilder accepts as is (a single chain or ring, no triangles at all, or two open chains), so the vertex must be duplicated
| bool mrmeshpy.MeshBuilder.VertInfo.hasRepeatedVerts | ( | self | ) |
true if some neighbor vertex is present in more than one triangle-pair around the vertex
| int mrmeshpy.MeshBuilder.VertInfo.maxVertRepetitions | ( | self | ) |
the maximum number of a neighbor vertex repetitions; 0 if !hasRepeatedVerts()
| int mrmeshpy.MeshBuilder.VertInfo.numChains | ( | self | ) |
the total number of open and closed chains of connected triangles around the vertex; 0 if hasRepeatedVerts()
| int mrmeshpy.MeshBuilder.VertInfo.numClosedChains | ( | self | ) |
the number of closed chains (rings) of connected triangles around the vertex; 0 if hasRepeatedVerts()
| int mrmeshpy.MeshBuilder.VertInfo.numOpenChains | ( | self | ) |
the number of open chains of connected triangles around the vertex; 0 if hasRepeatedVerts()
| int mrmeshpy.MeshBuilder.VertInfo.numRepeatedVerts | ( | self | ) |
the total number of neighbor vertex repetitions; 0 if !hasRepeatedVerts()
|
static |
|
static |
| None mrmeshpy.MeshBuilder.VertInfo.setNumChains | ( | self, | |
| int | openChains, | ||
| int | closedChains ) |
| None mrmeshpy.MeshBuilder.VertInfo.setNumRepeatedVerts | ( | self, | |
| int | repeatedVerts, | ||
| int | maxVertRepetitions ) |
|
static |
|
static |
|
static |
|
static |