Represents a sorted list of indices - such as a group of vertices, or faces.
Inherits :
Inherited By : DzFaceGroup, DzScriptIndexList, DzSelectionGroup and DzVertexGroup
DAZ Script | |
---|---|
void | addIndex ( Number idx ) |
void | addIndices ( DzIndexList list ) |
void | addSortedIndex ( Number idx ) |
void | clear () |
Number | count () |
Number | findIndex ( Number idx ) |
Number | getIndex ( Number i ) |
Number | getMaxIndex () |
Number | insertIndex ( Number idx ) |
Number | insertSortedIndex ( Number idx ) |
void | preSizeArray ( Number count ) |
Boolean | removeComponent ( Number idx ) |
Boolean | removeIndex ( Number idx ) |
Boolean | removeIndexes ( DzIndexList toRemove ) |
Array | toList () |
String | toString () |
TODO: Add detailed description.
Adds an index to the list.
Parameter(s):
void : addIndices( DzIndexList list )
Adds a list of indices to this index list.
Parameter(s):
Since:
void : addSortedIndex( Number idx )
Adds an index to the list. This method is faster in the case where it is likely the add index is at the end of the current list.
Parameter(s):
void : clear()
Removes all indices from the list and sets its count to zero.
Return Value:
Number : findIndex( Number idx )
Finds an index in the list.
Parameter(s):
Return Value:
Parameter(s):
Return Value:
Number : getMaxIndex()
Return Value:
Number : insertIndex( Number idx )
Adds an index to the list.
Parameter(s):
Return Value:
Since:
Number : insertSortedIndex( Number idx )
Adds an index to the list. This method is faster in the case where it is likely the add index is at the end of the current list.
Parameter(s):
Return Value:
Since:
void : preSizeArray( Number count )
Presizes the list.
Parameter(s):
Since:
Boolean : removeComponent( Number idx )
This function is typically called when a component (e.g. vertex or face) has been removed from the list that the indices in this list reference. This function removes the given index from the list if it is found, and decrements all indices in the list greater than the given index in order to 'clean-up' the list of indices.
Parameter(s):
Return Value:
true
on sucess, otherwise false
.Boolean : removeIndex( Number idx )
Removes the given index from the list.
Parameter(s):
Boolean : removeIndexes( DzIndexList toRemove )
Removes all indices in the toRemove
list from this list.
Parameter(s):
Return Value:
true
on sucess.Return Value:
Since:
Return Value:
Since: