|
CFx SDK Documentation 2024 SP0
|
#include <GeTess2.h>
Public Member Functions | |
| OptimizedHolder (OdUInt32 nPreAllocVertexes, OdUInt32 nPreAllocContours) | |
| virtual Vertex * | newVertex () ODRX_OVERRIDE |
| virtual void | deleteVertex (Vertex *pVx) ODRX_OVERRIDE |
| virtual Contour * | newContour () ODRX_OVERRIDE |
| virtual void | deleteContour (Contour *) ODRX_OVERRIDE |
| ~OptimizedHolder () | |
This class is an optimized memory holder for management of contours and vertex memory.
FOR INTERNAL USE.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
| OdGeTess2::OptimizedHolder::OptimizedHolder | ( | OdUInt32 | nPreAllocVertexes, |
| OdUInt32 | nPreAllocContours | ||
| ) |
Constructor for objects of the OptimizedHolder class.
| nPreAllocVertexes | [in] Number of vertices for which memory needs to be allocated. |
| nPreAllocContours | [in] Number of contours for which memory needs to be allocated. |
| OdGeTess2::OptimizedHolder::~OptimizedHolder | ( | ) |
Destructor for objects of the OptimizedHolder class.
|
virtual |
Frees memory of a specified contour.
|
virtual |
Frees memory of a specified vertex.
| pVx | [in] A pointer to a vertex that should be deleted. |
|
virtual |
Allocates memory for a new contour.
|
virtual |
Allocates memory for a new vertex.