#include "SMESH_SMESH.hxx"
#include "SMESH_MeshEditor.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>
Go to the source code of this file.
|
#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...
|
|
#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
Define a pointer to wrapper over a function of gp_XY class, suitable to pass as xyFunPtr to ApplyIn2D().
For exaple 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 gp_XY(* xyFunPtr)(const gp_XY &uv1, const gp_XY &uv2) |