API Reference > OdGe Classes > OptimizedHolder Class
OptimizedHolder Class
OdGeTess2__OptimizedHolder
Syntax
C++
class OptimizedHolder : public MemoryHolder;

GeTess2.h

This class is an optimized memory holder for management of contours and vertex memory.

This class represents a memory manager for elements that take part in the tessellation process. It allocates memory for growing arrays in blocks and does not relocate memory as std::vector, for example. This approach increases performance and reduces the time required to tessellate contours. 

FOR INTERNAL USE. 

Corresponding C++ library: TD_Ge 

 

 
Name 
Description 
 
This is ~OptimizedHolder, a member of class OptimizedHolder. 
 
Constructor for the OptimizedHolder class.
 
 
Name 
Description 
 
Frees memory of a specified contour. 
 
Frees memory of a specified vertex.
 
 
Allocates memory for a new contour. 
 
Allocates memory for a new vertex. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.