SALOME Mesh module
Go to file
eap 3a82c6685b 020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Cash GeomAPI_ProjectPointOnSurf's
 * Make applyFunc() public under name applyIn2D()


+   * \brief 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)
+   */
+#define gp_XY_FunPtr(meth) \
+  static gp_XY __gpXY_##meth (const gp_XY& uv1, const gp_XY& uv2) { return uv1.meth( uv2 ); } \
+  static xyFunPtr gp_XY_##meth = & __gpXY_##meth

+  /*!
+   * \brief Perform given operation on two 2d points in parameric space of given surface.
+   *        It takes into account period of the surface. Use gp_XY_FunPtr macro
+   *        to easily define pointer to function of gp_XY class.
+   */
+  static gp_XY applyIn2D(const Handle(Geom_Surface)& surface,
+                         const gp_XY&                uv1,
+                         const gp_XY&                uv2,
+                         xyFunPtr                    fun,
+                         const bool                  resultInPeriod=true);
+
2010-03-23 08:04:58 +00:00
adm_local *** empty log message *** 2010-03-02 15:47:09 +00:00
bin Porting to Python 2.6 - add coding page specification for Python scripts 2009-10-09 13:27:53 +00:00
doc 0020781: EDF 1326 SMESH : Documentation missing 2010-03-19 07:25:55 +00:00
idl 0020714: EDF GHS3DPLUGIN: shapeToMesh when creating 3D mesh from 2D mesh 2010-03-04 14:05:05 +00:00
resources Changes for bug 0020671. 2010-03-03 07:23:24 +00:00
src 020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen 2010-03-23 08:04:58 +00:00
AUTHORS Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
build_cmake *** empty log message *** 2009-02-24 09:08:32 +00:00
build_cmake.bat *** empty log message *** 2009-02-24 09:08:32 +00:00
build_configure Additional fix for issue 0020692: Duplicate check_*.m4 between modules. 2010-02-11 15:30:29 +00:00
ChangeLog DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
clean_configure Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00
configure.ac Move GeomSelectionTools from BLSURF module to SMESH 2009-11-23 14:46:21 +00:00
COPYING Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
cvs-tags DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
INSTALL Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
LICENCE NRI : add LICENCE file 2003-11-06 11:34:19 +00:00
Makefile.am Issue 20406: Time compilation when recompiling 2009-08-21 08:26:46 +00:00
NEWS Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
README Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
SMESH_version.h.in Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00