API Reference > OdGe Classes > OptimizedHolder Class > OptimizedHolder::OptimizedHolder Constructor
OptimizedHolder::OptimizedHolder Constructor
Syntax
C++
OptimizedHolder(OdUInt32 nPreAllocVertexes, OdUInt32 nPreAllocContours);
Parameters 
Description 
OdUInt32 nPreAllocVertexes 
[in] Number of vertices for which memory needs to be allocated.  
OdUInt32 nPreAllocContours 
[in] Number of contours for which memory needs to be allocated. 

Constructor for the OptimizedHolder class. 

 

Constructs an object with the defined number of elements for which memory should be allocated.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.