Version: 8.3.0
StdMeshers_CartesianParameters3D_i.cxx File Reference
#include "StdMeshers_CartesianParameters3D_i.hxx"
#include "StdMeshers_CartesianParameters3D.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_PythonDump.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
Include dependency graph for StdMeshers_CartesianParameters3D_i.cxx:

Macros

#define _vec2array(v, a, conversion)
 
#define _array2vec(a, v, conversion)
 

Macro Definition Documentation

#define _array2vec (   a,
  v,
  conversion 
)
Value:
{ \
v.resize( a.length() ); \
for ( size_t i = 0; i < v.size(); ++i ) \
v[i] = conversion ( a[i] ); \
}

Referenced by StdMeshers_CartesianParameters3D_i::ComputeCoordinates(), StdMeshers_CartesianParameters3D_i::SetGrid(), and StdMeshers_CartesianParameters3D_i::SetGridSpacing().

#define _vec2array (   v,
  a,
  conversion 
)
Value:
{ \
a->length( v.size() ); \
for ( size_t i = 0; i < v.size(); ++i ) \
a[i] = conversion( v[i] ); \
}

Referenced by StdMeshers_CartesianParameters3D_i::ComputeCoordinates(), StdMeshers_CartesianParameters3D_i::GetGrid(), and StdMeshers_CartesianParameters3D_i::GetGridSpacing().