A element of a list of 3d drawing elements. More...
| elementList3d* | nextElement |
| element3d* | thisElement |
An elementList3d node is one step in the linked list of 3d objects inside a cell3d. thisElement is the element3d at this node; nextElement is the following node, or NULL at the end of the list. The head of the list is cell3d->firstElement. Always test both the node and thisElement against NULL before you call isMesh or change selection. The example below selects every mesh of the current 3d cell.
Example:
elementList3d *el = layout3d->drawing->currentCell->firstElement;
while (el != NULL) {
if (el->thisElement != NULL) {
if (el->thisElement->isMesh()) {
el->thisElement->selectAll();
}
}
el = el->nextElement;
}
The next node in the list, or NULL after the last element3d.
The element3d stored at this node.