Salome HOME
modules/smesh.git
10 years agoUpdating documentation to integrate the python package documentation BR_pypkg BR_pypkg_20100730
boulant [Thu, 29 Jul 2010 13:36:27 +0000 (13:36 +0000)]
Updating documentation to integrate the python package documentation

10 years agoAdding salome.smesh python package
boulant [Thu, 29 Jul 2010 09:47:55 +0000 (09:47 +0000)]
Adding salome.smesh python package

10 years ago0020580: EDF 1169 GEOM: float number precision in dialog boxes V5_1_4_BR V5_1_4 V5_1_4_patch01 V5_1_4_patch02 V5_1_4_patch03 V5_1_4rc2 V5_1_4rc3
vsr [Fri, 4 Jun 2010 13:56:39 +0000 (13:56 +0000)]
0020580: EDF 1169 GEOM: float number precision in dialog boxes
Additional fix: change max limit for precision preferences to 14

10 years agoCorrect mistake
gdd [Thu, 3 Jun 2010 12:19:17 +0000 (12:19 +0000)]
Correct mistake

10 years ago0020898: EDF 1429 SMESH: Remove elements using "Set Filters" fails
vsr [Thu, 3 Jun 2010 08:44:20 +0000 (08:44 +0000)]
0020898: EDF 1429 SMESH: Remove elements using "Set Filters" fails

10 years ago0020898: EDF 1429 SMESH: Remove elements using "Set Filters" fails
vsr [Thu, 3 Jun 2010 08:24:13 +0000 (08:24 +0000)]
0020898: EDF 1429 SMESH: Remove elements using "Set Filters" fails

10 years ago0020895: EDF 1428 SMESH: Bug in creation of groups using Set Filter
vsr [Thu, 3 Jun 2010 05:05:38 +0000 (05:05 +0000)]
0020895: EDF 1428 SMESH: Bug in creation of groups using Set Filter

10 years ago0020893: EDF 1415: an example is missing in SMESH documentation
dmv [Wed, 2 Jun 2010 11:39:58 +0000 (11:39 +0000)]
0020893: EDF 1415: an example is missing in SMESH documentation

10 years ago0020890: EDF 1412 SMESH: Conversion linear to quadratic with BLSURF crashes Salome...
eap [Tue, 1 Jun 2010 08:49:28 +0000 (08:49 +0000)]
0020890: EDF 1412 SMESH: Conversion linear to quadratic with BLSURF crashes Salome or does'nt work
  * Fix GetNodeU() for node on vertex but set on periodic but trimmed edge

10 years ago0020614: EDF 1133 SMESH : Put new added elements and nodes to group
vsr [Mon, 31 May 2010 13:42:29 +0000 (13:42 +0000)]
0020614: EDF 1133 SMESH : Put new added elements and nodes to group
Additional documentation improvement

10 years ago- return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
eap [Thu, 20 May 2010 10:24:39 +0000 (10:24 +0000)]
-    return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
+    return ( e && e->NbCornerNodes() == 4 );

10 years ago0020855: [CEA] Problem with ijk algo ---------- KO.med file
eap [Thu, 20 May 2010 10:02:36 +0000 (10:02 +0000)]
0020855: [CEA] Problem with ijk algo  ---------- KO.med file

10 years agoFix issue number. The previous revision refers to issue 0020128: EDF SMESH 926 :...
eap [Wed, 19 May 2010 09:42:05 +0000 (09:42 +0000)]
Fix issue number. The previous revision refers to issue 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh

10 years ago0020809: [CEA 400] ParaMEDSPLITTER failure on blade.med
eap [Wed, 19 May 2010 09:38:12 +0000 (09:38 +0000)]
0020809: [CEA 400] ParaMEDSPLITTER failure on blade.med
 * Fix SMESH_MesherHelper::GetNodeU() for a node on vertex of a closed geom edge

   double GetNodeU(const TopoDS_Edge&   theEdge,
                   const SMDS_MeshNode* theNode,
+                  const SMDS_MeshNode* inEdgeNode=0,
                   bool*                check=0);

10 years agoDo not "bend" internal links if environment variable NO_FixQuadraticElements is set
eap [Wed, 19 May 2010 09:35:44 +0000 (09:35 +0000)]
Do not "bend" internal links if environment variable NO_FixQuadraticElements is set

10 years ago0020855: [CEA] Problem with ijk algo
eap [Wed, 19 May 2010 08:13:54 +0000 (08:13 +0000)]
0020855: [CEA] Problem with ijk algo
  * Fix detection of block corners
  * Fix selection of sides

10 years ago0020871: EDF 1411 SMESH: Distribution with analytical density crashes Salome
vsr [Tue, 18 May 2010 11:56:05 +0000 (11:56 +0000)]
0020871: EDF 1411 SMESH: Distribution with analytical density crashes Salome
Additional patch for Windows from Erwan ADAM

10 years ago0020864: EDF 1409 SMESH: Suppression of algorithms causes Salome to crash
dmv [Tue, 18 May 2010 11:10:35 +0000 (11:10 +0000)]
0020864: EDF 1409 SMESH: Suppression of algorithms causes Salome to crash
Additional minor changes: fix problems with Object browser icons

10 years ago0020863: [CEA 403] SMESH hypotheses GUI destruction
dmv [Tue, 18 May 2010 10:59:59 +0000 (10:59 +0000)]
0020863: [CEA 403] SMESH hypotheses GUI destruction
Additional fixes for some dialog boxes

10 years ago*** empty log message ***
adam [Mon, 17 May 2010 09:21:23 +0000 (09:21 +0000)]
*** empty log message ***

10 years agoAdditional fix for issue 0020613: EDF 1106 : Modify Node Marker in SMESH and VISU
ouv [Fri, 14 May 2010 08:23:11 +0000 (08:23 +0000)]
Additional fix for issue 0020613: EDF 1106 : Modify Node Marker in SMESH and VISU

10 years agofor compute error, fix finding a name of the main shape
eap [Wed, 12 May 2010 13:18:43 +0000 (13:18 +0000)]
for compute error, fix finding a name of the main shape

10 years agoregression on "imps/A3" test
eap [Wed, 12 May 2010 12:11:46 +0000 (12:11 +0000)]
regression on "imps/A3" test
  * avoid SIGSEGV in case of invalid input mesh

10 years ago0020872: [CEA] Script fails
eap [Wed, 12 May 2010 12:01:54 +0000 (12:01 +0000)]
0020872: [CEA] Script fails
  * signature of RemoveExtraEdges() changed in the frames of issue 0020052

-piece_ok = RemoveExtraEdges(piece_cpd)
+piece_ok = RemoveExtraEdges(piece_cpd, doUnionFaces=True)

10 years ago0020872: [CEA] Script fails
eap [Wed, 12 May 2010 11:59:35 +0000 (11:59 +0000)]
0020872: [CEA] Script fails
  * improve error repport in case of non-quadrangular elements

10 years ago0020871: EDF 1411 SMESH: Distribution with analytical density crashes Salome
eap [Wed, 12 May 2010 08:05:52 +0000 (08:05 +0000)]
0020871: EDF 1411 SMESH: Distribution with analytical density crashes Salome
   * avoid passing infinite value to qwt

10 years agoUpdate SMESH documentation
inv [Wed, 12 May 2010 06:34:27 +0000 (06:34 +0000)]
Update SMESH documentation

10 years ago0020863: [CEA 403] SMESH hypotheses GUI destruction
dmv [Wed, 12 May 2010 05:57:22 +0000 (05:57 +0000)]
0020863: [CEA 403] SMESH hypotheses GUI destruction

10 years ago0020868: EDF 1251 SMESH: Pattern 3D mapping
dmv [Wed, 12 May 2010 05:49:38 +0000 (05:49 +0000)]
0020868: EDF 1251 SMESH: Pattern 3D mapping
Add documentation and sample scripts for 3D pattern mapping

10 years ago0020868: EDF 1251 SMESH: Pattern 3D mapping
dmv [Tue, 11 May 2010 14:34:45 +0000 (14:34 +0000)]
0020868: EDF 1251 SMESH: Pattern 3D mapping

10 years agoIssue 0020860: EDF 1404 SMESH: Save operation unavailable after a group creation...
ouv [Tue, 11 May 2010 08:59:28 +0000 (08:59 +0000)]
Issue 0020860: EDF 1404 SMESH: Save operation unavailable after a group creation or merge nodes/elements

10 years agoPAL21729 TC5.1.4: Problem with saving study after "Convert to quadratic" operation V5_1_4rc1
eap [Thu, 6 May 2010 13:00:52 +0000 (13:00 +0000)]
PAL21729 TC5.1.4: Problem with saving study after "Convert to quadratic" operation
* Protect Save() from pb with submeshes with invalid id (without corresponding shape)

10 years agoPAL21729 TC5.1.4: Problem with saving study after "Convert to quadratic" operation
eap [Thu, 6 May 2010 12:59:08 +0000 (12:59 +0000)]
PAL21729 TC5.1.4: Problem with saving study after "Convert to quadratic" operation
* Fix GetMediumNode(): do not set node on subshape if the last not geiven

10 years agofix regression on "imps/A3" test
eap [Thu, 6 May 2010 12:08:58 +0000 (12:08 +0000)]
fix regression on "imps/A3" test

10 years ago0020855: [CEA] Problem with ijk algo
eap [Thu, 6 May 2010 08:44:54 +0000 (08:44 +0000)]
0020855: [CEA] Problem with ijk algo
  * Fix difining sharing of block sides
  * Fix selection of adjacent side

10 years ago0020614: EDF 1133 SMESH : Put new added elements and nodes to group
vsr [Wed, 5 May 2010 15:23:42 +0000 (15:23 +0000)]
0020614: EDF 1133 SMESH : Put new added elements and nodes to group
Additional changes: converting of groups on geometry to standalone group by demand

10 years agoin Compute(), fix showing compute error in case of imported mesh
eap [Wed, 5 May 2010 13:58:31 +0000 (13:58 +0000)]
in Compute(), fix showing compute error in case of imported mesh

10 years agoFix misspell
gdd [Tue, 4 May 2010 14:11:21 +0000 (14:11 +0000)]
Fix misspell

10 years ago0020627: EDF 1165 HEXOTIC : Allow Hexotic to start from a 2D mesh
gdd [Tue, 4 May 2010 13:19:51 +0000 (13:19 +0000)]
0020627: EDF 1165 HEXOTIC : Allow Hexotic to start from a 2D mesh
Changed doc: parameter "Nb. Hexes Min Level" before "Nb. Hexes Max Level".

10 years ago0020671: EDF 1230 SMESH: Scale transform of mesh
gdd [Tue, 4 May 2010 13:07:14 +0000 (13:07 +0000)]
0020671: EDF 1230 SMESH: Scale transform of mesh
Fix doc

10 years agoFix warnings at documentation generation.
gdd [Tue, 4 May 2010 12:15:02 +0000 (12:15 +0000)]
Fix warnings at documentation generation.

10 years ago0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh
dmv [Tue, 4 May 2010 11:23:29 +0000 (11:23 +0000)]
0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh

10 years ago0020858: EDF SMESH : Dump of attacehd script is not running.
eap [Tue, 4 May 2010 07:31:42 +0000 (07:31 +0000)]
0020858: EDF SMESH : Dump of attacehd script is not running.

-  TPythonDump() << "isDone = " << this << ".DoubleNodeGroups( " << &theElems << ", "
+  TPythonDump() << "isDone = " << this << ".DoubleNodeElemGroups( " << &theElems << ", "

10 years ago0018911: EDF 661 SMESH : to be able to mesh a prismal shape as a revolution of meshed...
dmv [Tue, 4 May 2010 06:54:32 +0000 (06:54 +0000)]
0018911: EDF 661 SMESH : to be able to mesh a prismal shape as a revolution of meshed surface

10 years agoCompute(), better presentation in case of multiple errors
eap [Fri, 30 Apr 2010 12:00:24 +0000 (12:00 +0000)]
Compute(), better presentation in case of multiple errors

10 years agoin Compute(), protect from exceptions while searching subshape name
eap [Fri, 30 Apr 2010 08:21:21 +0000 (08:21 +0000)]
in Compute(), protect from exceptions while searching subshape name

10 years agoin Compute(), show compute error as well as hypotheses errors
eap [Fri, 30 Apr 2010 08:12:00 +0000 (08:12 +0000)]
in Compute(), show compute error as well as hypotheses errors

10 years ago0020855: [CEA] Problem with ijk algo
eap [Fri, 30 Apr 2010 06:41:17 +0000 (06:41 +0000)]
0020855: [CEA] Problem with ijk algo
 * Fix uninitialized gravity center
-      gp_XYZ gc;
+      gp_XYZ gc(0,0,0);

10 years ago0020852: [CEA] V5_1_4_BR - script fails
eap [Thu, 29 Apr 2010 07:08:00 +0000 (07:08 +0000)]
0020852: [CEA] V5_1_4_BR - script fails
 * correctly initialize fields used for non-uniformally parametrized edges
   in the case of degenerated edges

10 years agoIPAL21710 TC5.1.4: Dialog doesn't show mesh info
dmv [Wed, 28 Apr 2010 12:32:02 +0000 (12:32 +0000)]
IPAL21710 TC5.1.4: Dialog doesn't show mesh info

10 years agoIssue 0020580: Correcting documentation for user preferences
san [Wed, 28 Apr 2010 07:50:25 +0000 (07:50 +0000)]
Issue 0020580: Correcting documentation for user preferences

10 years agoIPAL21396 Quadrangle parameters Hypothesis Construction Bugs.
dmv [Tue, 27 Apr 2010 11:57:40 +0000 (11:57 +0000)]
IPAL21396 Quadrangle parameters Hypothesis Construction Bugs.

10 years agoPAL21717: default values of hypothesis for sub-mesh
eap [Tue, 27 Apr 2010 09:42:53 +0000 (09:42 +0000)]
PAL21717: default values of hypothesis for sub-mesh
   Use default hyp value if submesh is not meshed

10 years agoPAL21718: Composite Side Discretisation 1D Algorithm works incorrently with attached...
eap [Tue, 27 Apr 2010 09:25:36 +0000 (09:25 +0000)]
PAL21718: Composite Side Discretisation 1D Algorithm works incorrently with attached shape.
 * Avoid pb with internal edges

10 years agoPAL21718: Composite Side Discretisation 1D Algorithm works incorrently with attached...
eap [Tue, 27 Apr 2010 09:24:04 +0000 (09:24 +0000)]
PAL21718: Composite Side Discretisation 1D Algorithm works incorrently with attached shape.

GeomAbs_Shape SMESH_Algo::Continuity(TopoDS_Edge E1,
                                     TopoDS_Edge E2)
{
+  E1.Orientation(TopAbs_FORWARD), E2.Orientation(TopAbs_FORWARD); // avoid pb with internal edges

10 years agoPAL21685: Fatal error after save/open study with Edit group as standalone group
eap [Tue, 27 Apr 2010 06:37:28 +0000 (06:37 +0000)]
PAL21685: Fatal error after save/open study with Edit group as standalone group
   * protect SObjectToObject() from exception in case of invalid IOR

10 years agoPAL21685: Fatal error after save/open study with Edit group as standalone group
eap [Tue, 27 Apr 2010 06:35:56 +0000 (06:35 +0000)]
PAL21685: Fatal error after save/open study with Edit group as standalone group
   * register new CORBA object for persistence at group conversion

10 years agoIPAL21303 ex15_cyl2geometry: mesh computation failed
dmv [Mon, 26 Apr 2010 13:14:19 +0000 (13:14 +0000)]
IPAL21303 ex15_cyl2geometry: mesh computation failed

10 years ago0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED...
vsr [Mon, 26 Apr 2010 12:09:15 +0000 (12:09 +0000)]
0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
Additional fix for group labels actor color

10 years agoIssue 0020580: on-line documentation for user preferences controlling precision
san [Fri, 23 Apr 2010 15:33:57 +0000 (15:33 +0000)]
Issue 0020580: on-line documentation for user preferences controlling precision

10 years ago0020849: [CEA] Projection 2D fails
eap [Fri, 23 Apr 2010 13:43:11 +0000 (13:43 +0000)]
0020849: [CEA] Projection 2D fails
 * project by transformation in case if TopoDS_TFace's are different

10 years agoRegress of 3D_mesh_NETGEN/G6 test
eap [Thu, 22 Apr 2010 13:34:55 +0000 (13:34 +0000)]
Regress of 3D_mesh_NETGEN/G6 test
   * add commented debug ouput

10 years agoRegress of 3D_mesh_NETGEN/G6 test
eap [Thu, 22 Apr 2010 13:32:59 +0000 (13:32 +0000)]
Regress of 3D_mesh_NETGEN/G6 test
   * avoid pb that for internal node GCPnts_AbscissaPoint::Length() return value larger than total edge length
   * cash values used for work with non-uniformly paramtrized edges

10 years agoFix compilation on windows ...
adam [Thu, 22 Apr 2010 12:36:43 +0000 (12:36 +0000)]
Fix compilation on windows ...
May be it can create problems on linux when linking to native libs
but in accordance with Vadim, I integrate this modification
and we will fix problem later if necessary.

10 years ago0020843: EDF 1374 : SMESH Projection 2D + Extrusion 3D issue
eap [Thu, 22 Apr 2010 07:12:49 +0000 (07:12 +0000)]
0020843: EDF 1374 : SMESH Projection 2D + Extrusion 3D issue

* Modify for the case of quasi quadrilateral side face

10 years ago0020843: EDF 1374 : SMESH Projection 2D + Extrusion 3D issue
eap [Thu, 22 Apr 2010 07:10:07 +0000 (07:10 +0000)]
0020843: EDF 1374 : SMESH Projection 2D + Extrusion 3D issue

* Rewrite LoadNodeColumns() to be usable in case of quasi quadrilateral face

10 years agoUpdate copyright notes (for 2010)
vsr [Wed, 21 Apr 2010 16:19:21 +0000 (16:19 +0000)]
Update copyright notes (for 2010)

10 years agoMantis issue 0020422: EDF 1070 GEOM: Partition anomaly - REGRESSION from 4.1.x.
jfa [Wed, 21 Apr 2010 12:46:40 +0000 (12:46 +0000)]
Mantis issue 0020422: EDF 1070 GEOM: Partition anomaly - REGRESSION from 4.1.x.

10 years ago0020847: EDF 1378 SMESH : Selection problem with symetry + translation
dmv [Wed, 21 Apr 2010 06:32:54 +0000 (06:32 +0000)]
0020847: EDF 1378 SMESH : Selection problem with symetry + translation

10 years ago0020838: EDF 1369 SMESH : Double elements generated
eap [Tue, 20 Apr 2010 13:14:23 +0000 (13:14 +0000)]
0020838: EDF 1369 SMESH : Double elements generated
- Fix computeParamByFunc() for case where theReverse=true

10 years agowindows
adam [Tue, 20 Apr 2010 10:35:51 +0000 (10:35 +0000)]
windows

10 years ago*** empty log message ***
adam [Mon, 19 Apr 2010 15:14:27 +0000 (15:14 +0000)]
*** empty log message ***

10 years agoChanging version to 5.1.4
inv [Mon, 19 Apr 2010 10:47:01 +0000 (10:47 +0000)]
Changing version to 5.1.4

10 years agoImprove Documentation style. V5_1_4a1
dmv [Thu, 8 Apr 2010 11:04:09 +0000 (11:04 +0000)]
Improve Documentation style.

10 years agoIPAL21668 Call of Edit Group leads to Crash.
dmv [Thu, 8 Apr 2010 07:52:18 +0000 (07:52 +0000)]
IPAL21668 Call of Edit Group leads to Crash.

10 years agoCCAR: wrong type id
caremoli [Thu, 8 Apr 2010 06:36:12 +0000 (06:36 +0000)]
CCAR: wrong type id

10 years agoImprove documentation
dmv [Wed, 7 Apr 2010 14:12:04 +0000 (14:12 +0000)]
Improve documentation

10 years agoIssue 0020580: improved validation in integer and double spin boxes, possibility...
san [Mon, 5 Apr 2010 11:43:42 +0000 (11:43 +0000)]
Issue 0020580: improved validation in integer and double spin boxes, possibility to adjust input field precision through preferences

10 years agoRename to avoid clash with same name class from GEOM_Engine
eap [Wed, 31 Mar 2010 05:56:30 +0000 (05:56 +0000)]
Rename to avoid clash with same name class from GEOM_Engine

-class ObjectStates{
+class SMESH_ObjectStates{

10 years agoRemove useless extra dump in DEBUG mode
eap [Wed, 31 Mar 2010 05:55:11 +0000 (05:55 +0000)]
Remove useless extra dump in DEBUG mode

10 years ago0020672: EDF 1243 SMESH : Be able to transform mixed mesh
eap [Tue, 30 Mar 2010 12:38:16 +0000 (12:38 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh

+    void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)

10 years ago0020672: EDF 1243 SMESH : Be able to transform mixed mesh
eap [Tue, 30 Mar 2010 12:36:23 +0000 (12:36 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
 * Add "Split into Tetrahedra" operation

10 years ago0020672: EDF 1243 SMESH : Be able to transform mixed mesh
eap [Tue, 30 Mar 2010 12:33:10 +0000 (12:33 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
+  virtual int  NbCornerNodes() const;

10 years ago0020672: EDF 1243 SMESH : Be able to transform mixed mesh
eap [Tue, 30 Mar 2010 12:32:41 +0000 (12:32 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
 * Implement GetFaceNodesIndices() for polyhedrons

10 years agoMove #include "SMESH_Algo.hxx" from hxx to cxx
eap [Tue, 30 Mar 2010 12:30:12 +0000 (12:30 +0000)]
Move #include "SMESH_Algo.hxx" from hxx to cxx

10 years agoUse TXyzIterator in Preparation()
eap [Tue, 30 Mar 2010 12:29:24 +0000 (12:29 +0000)]
Use TXyzIterator in Preparation()

10 years ago /*!
eap [Tue, 30 Mar 2010 12:27:31 +0000 (12:27 +0000)]
 /*!
+     * Returns nodes of given face (counted from zero) for given volumic element.
+     */
+    long_array GetElemFaceNodes(in long elemId, in short faceIndex);
+
+    /*!
+     * Returns an element based on all given nodes.
+     */
+    long FindElementByNodes(in long_array nodes);

10 years agoBug IPAL21655 - Points representation works incorrectly with white background
ouv [Mon, 29 Mar 2010 08:24:47 +0000 (08:24 +0000)]
Bug IPAL21655 - Points representation works incorrectly with white background

10 years agountabify
eap [Thu, 25 Mar 2010 14:51:26 +0000 (14:51 +0000)]
untabify

10 years agoIssue 0020613: EDF 1106 : Modify Node Marker in SMESH and VISU
ouv [Thu, 25 Mar 2010 13:55:29 +0000 (13:55 +0000)]
Issue 0020613: EDF 1106 : Modify Node Marker in SMESH and VISU

10 years agoMove StdMeshers_ProjectionUtils::IsSubShape() to SMESH_MesherHelper
eap [Tue, 23 Mar 2010 14:33:16 +0000 (14:33 +0000)]
Move StdMeshers_ProjectionUtils::IsSubShape() to SMESH_MesherHelper

10 years agoMove from StdMeshers_ProjectionUtils
eap [Tue, 23 Mar 2010 14:32:26 +0000 (14:32 +0000)]
Move from StdMeshers_ProjectionUtils

+  static bool IsSubShape( const TopoDS_Shape& shape, const TopoDS_Shape& mainShape );
+
+  static bool IsSubShape( const TopoDS_Shape& shape, SMESH_Mesh* aMesh );

10 years ago020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computa...
eap [Tue, 23 Mar 2010 08:04:58 +0000 (08:04 +0000)]
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);
+

10 years agoIssue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached...
vsr [Mon, 22 Mar 2010 15:15:49 +0000 (15:15 +0000)]
Issue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file

10 years agoIssue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached...
vsr [Mon, 22 Mar 2010 15:08:53 +0000 (15:08 +0000)]
Issue 0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file

10 years ago0020799: [CEA] Smesh script fails
dmv [Mon, 22 Mar 2010 14:48:33 +0000 (14:48 +0000)]
0020799: [CEA] Smesh script fails

10 years ago0020801: EDF 1343 SMESH : Segmentation violation during compound od Mesh with 0D...
vsr [Mon, 22 Mar 2010 14:30:36 +0000 (14:30 +0000)]
0020801: EDF 1343 SMESH : Segmentation violation during compound od Mesh with 0D elements

10 years ago0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED...
dmv [Mon, 22 Mar 2010 12:17:15 +0000 (12:17 +0000)]
0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file

10 years agoSMESH_IDSource can be not-published object
eap [Fri, 19 Mar 2010 14:56:03 +0000 (14:56 +0000)]
SMESH_IDSource can be not-published object

+    operator<<(SMESH::SMESH_IDSource_ptr theArg);

10 years ago0020771: EDF 1322 SMESH : Quadratic/Linear conversion with Medium Nodes on Geometry...
eap [Fri, 19 Mar 2010 14:21:48 +0000 (14:21 +0000)]
0020771: EDF 1322 SMESH : Quadratic/Linear conversion with Medium Nodes on Geometry issue
   * Care of period when performing operations on points in parametric space