![]() |
Public API Reference |
#include <polyedge.h>
Public Methods | |
csPoly2DEdgesPool () | |
Create an empty pool. More... | |
~csPoly2DEdgesPool () | |
Destroy pool and all objects in the pool. More... | |
csPoly2DEdges * | Alloc () |
Allocate a new object in the pool. More... | |
void | Free (csPoly2DEdges *pol) |
Free an object and put it back in the pool. More... |
You can ask new instances from this pool. If needed it will allocate one for you but ideally it can give you one which was allocated earlier.
Definition at line 154 of file polyedge.h.
|
Create an empty pool.
Definition at line 169 of file polyedge.h. |
|
Destroy pool and all objects in the pool.
Definition at line 172 of file polyedge.h. |
|
Allocate a new object in the pool.
Definition at line 194 of file polyedge.h. |
|
Free an object and put it back in the pool. Note that it is only legal to free objects which were allocated from the pool. Definition at line 217 of file polyedge.h. |