Inheritance diagram for DzFaceGroup:
Methods | |
void | addPoly (Number polyIdx) |
void | addQuad (Number quadIdx) |
void | addTri (Number triIdx) |
Number | getNumFaces () |
Number | getNumPolys () |
Number | getNumQuads () |
Number | getNumTris () |
DzPolyMesh | getOwner () |
Number | getPoly (Number i) |
Number | getQuad (Number i) |
Number | getTri (Number i) |
void | removeAllFaces () |
Boolean | removePoly (Number polyIdx, Boolean updateIndices=false) |
Boolean | removeQuad (Number quadIdx, Boolean updateIndices=false) |
Boolean | removeTri (Number triIdx, Boolean updateIndices=false) |
Represents a list of faces from a geometry that are collected into a group. The group is stored as a list of integers which are indices into the face list of the geometry which this group references.
void DzFaceGroup::addPoly | ( | Number | polyIdx | ) |
Adds a general polygon index to this group.
polyIdx | The index of the polygon to add to the group |
void DzFaceGroup::addQuad | ( | Number | quadIdx | ) |
Adds a quad index to this group.
quadIdx | The index of the quad to add to the group |
void DzFaceGroup::addTri | ( | Number | triIdx | ) |
Adds a triangle index to this group.
triIdx | The index of the triangle to add to the group |
Number DzFaceGroup::getNumFaces | ( | ) |
Number DzFaceGroup::getNumPolys | ( | ) |
Number DzFaceGroup::getNumQuads | ( | ) |
Number DzFaceGroup::getNumTris | ( | ) |
DzPolyMesh DzFaceGroup::getOwner | ( | ) |
i | The poly index to return from the list. |
i | The quad index to return from the list. |
i | The triangle index to return from the list. |
void DzFaceGroup::removeAllFaces | ( | ) |
Empties the list of faces referenced by this group (all tris, quads and polys)
Removes a polygon index from this group.
polyIdx | The index of the polygon to remove from the group | |
updateIndices | If true, all face indices smaller than the given index are decremented to reflect a deletion of this face from the main face list. |
Removes a quad index from this group.
quadIdx | The index of the quad to remove from the group | |
updateIndices | If true, all face indices smaller than the given index are decremented to reflect a deletion of this face from the main face list. |
Removes a face index from this group.
triIdx | The index of the face to remove from the group | |
updateIndices | If true, all face indices smaller than the given index are decremented to reflect a deletion of this face from the main face list. |