Open CASCADE Technology 7.8.2.dev
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
 

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.