Open CASCADE Technology  7.3.0
Data Structures | Macros

MeshVS_Buffer.hxx File Reference

#include <Standard.hxx>
#include <gp_Pnt.hxx>

Data Structures

class  MeshVS_Buffer
 

Macros

#define MeshVS_BufSize   10*3*sizeof(double)
 define the constant to the size of 10 points More...
 

Macro Definition Documentation

◆ MeshVS_BufSize

#define MeshVS_BufSize   10*3*sizeof(double)

define the constant to the size of 10 points

General purpose buffer that is allocated on the stack with a constant size MeshVS_BufSize, or is allocated dynamically if the requested size exceeds the standard one. It is useful when an allocation of an array of unknown size is needed, and most often the array is small enough to allocate as automatic C array.