#include <TriangleSetExt.h>
Public Member Functions | ||||
void | add (TriangleExt *triangle) | |||
Add copy of triangle to container.
| ||||
void | add (TriangleSetExt *tset) | |||
Add copy of triangles to container.
| ||||
size_t | count () | |||
Return current count of triangle stored in container.
| ||||
TriangleExt & | operator[] (unsigned index) | |||
Access triangle using its index.
|
Definition at line 37 of file TriangleSetExt.h.
void TriangleSetExt::add | ( | TriangleExt * | triangle | ) |
Add copy of triangle to container.
triangle | Pointer to triangle to copy to container. |
void TriangleSetExt::add | ( | TriangleSetExt * | tset | ) |
Add copy of triangles to container.
tset | Pointer to TriangleSet containing source triangles. |
size_t TriangleSetExt::count | ( | ) |
Return current count of triangle stored in container.
TriangleExt& TriangleSetExt::operator[] | ( | unsigned | index | ) |
Access triangle using its index.
index | Index of triangle - must be in range <0, count()-1>. |