Version: 9.16.0
SMESH_MesherHelper.hxx File Reference
#include "SMESH_SMESH.hxx"
#include "SMESH_ComputeError.hxx"
#include "SMESH_TypeDefs.hxx"
#include <Geom_Surface.hxx>
#include <ShapeAnalysis_Surface.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Shape.hxx>
#include <gp_Pnt2d.hxx>
#include <map>
#include <vector>
Include dependency graph for SMESH_MesherHelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  SMESH_MesherHelper
 It helps meshers to add elements and provides other utilities. More...
 
struct  SMESH_MesherHelper::TBiQuad
 

Macros

#define gp_XY_FunPtr(meth)
 Define a pointer to wrapper over a function of gp_XY class, suitable to pass as xyFunPtr to ApplyIn2D(). More...
 

Typedefs

typedef std::map< SMESH_TLink, const SMDS_MeshNode * > TLinkNodeMap
 
typedef std::map< SMESH_TLink, constSMDS_MeshNode * >::iterator ItTLinkNode
 
typedef SMDS_Iterator< const TopoDS_Shape * > PShapeIterator
 
typedef boost::shared_ptr< PShapeIteratorPShapeIteratorPtr
 
typedef std::vector< const SMDS_MeshNode * > TNodeColumn
 
typedef std::map< double, TNodeColumnTParam2ColumnMap
 
typedef gp_XY(* xyFunPtr) (const gp_XY &uv1, const gp_XY &uv2)
 

Macro Definition Documentation

◆ gp_XY_FunPtr

#define gp_XY_FunPtr (   meth)
Value:
static gp_XY __gpXY_##meth (const gp_XY& uv1, const gp_XY& uv2) { return uv1.meth( uv2 ); } \
static xyFunPtr gp_XY_##meth = & __gpXY_##meth
gp_XY(* xyFunPtr)(const gp_XY &uv1, const gp_XY &uv2)
Definition: SMESH_MesherHelper.hxx:67

Define a pointer to wrapper over a function of gp_XY class, suitable to pass as xyFunPtr to ApplyIn2D().

For example gp_XY_FunPtr(Added) defines pointer gp_XY_Added to function calling gp_XY::Added(gp_XY), which is to be used like following ApplyIn2D(surf, uv1, uv2, gp_XY_Added)

Typedef Documentation

◆ ItTLinkNode

typedef std::map<SMESH_TLink,constSMDS_MeshNode*>::iterator ItTLinkNode

◆ PShapeIterator

typedef SMDS_Iterator<const TopoDS_Shape*> PShapeIterator

◆ PShapeIteratorPtr

typedef boost::shared_ptr< PShapeIterator > PShapeIteratorPtr

◆ TLinkNodeMap

typedef std::map<SMESH_TLink, const SMDS_MeshNode*> TLinkNodeMap

◆ TNodeColumn

typedef std::vector<const SMDS_MeshNode* > TNodeColumn

◆ TParam2ColumnMap

typedef std::map< double, TNodeColumn > TParam2ColumnMap

◆ xyFunPtr

typedef gp_XY(* xyFunPtr) (const gp_XY &uv1, const gp_XY &uv2)