Salome HOME
modules/smesh.git
13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:21:56 +0000 (12:21 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+   * interface of "Viscous Layers" hypothesis.
+   * This hypothesis specifies parameters of layers of prisms to build
+   * near mesh boundary. This hypothesis can be used by several 3D algorithms:
+   * NETGEN 3D, GHS3D, Hexahedron(i,j,k)
+   */
+  interface StdMeshers_ViscousLayers : SMESH::SMESH_Hypothesis

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:21:27 +0000 (12:21 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+ StdMeshers_ViscousLayers_i.hxx

13 years ago\ No newline at end of file0020832: EDF 1359 SMESH : Automatic meshing of boundary...
eap [Tue, 18 Jan 2011 12:20:52 +0000 (12:20 +0000)]
\ No newline at end of file0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
     work with StdMeshers_ViscousLayers

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:20:13 +0000 (12:20 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

-  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0 );
+  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
+                                     TopAbs_ShapeEnum aSubShType = TopAbs_EDGE );

+  void                           setFilter();

13 years ago\ No newline at end of file
eap [Tue, 18 Jan 2011 12:19:28 +0000 (12:19 +0000)]
\ No newline at end of file

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:18:56 +0000 (12:18 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
     work after StdMeshers_ViscousLayers

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:17:14 +0000 (12:17 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
 Move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils

13 years agomonor change
eap [Tue, 18 Jan 2011 12:16:37 +0000 (12:16 +0000)]
monor change

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:16:09 +0000 (12:16 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
    Implement Compute() with the viscous layers

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:15:36 +0000 (12:15 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+ StdMeshers_ViscousLayers.hxx

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:15:17 +0000 (12:15 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+    def ViscousLayers(self, thickness, numberOfLayers, stretchFactor, ignoreFaces=[]):

13 years agountabify
eap [Tue, 18 Jan 2011 12:14:57 +0000 (12:14 +0000)]
untabify

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:14:41 +0000 (12:14 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+  else if ( aHypType == "ViscousLayers")
+    aHelpFileName = "additional_hypo_page.html#viscous_layers_anchor";

13 years agounused variable
eap [Tue, 18 Jan 2011 12:14:25 +0000 (12:14 +0000)]
unused variable

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:14:09 +0000 (12:14 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

-  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject) );
+  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject), bool* isMesh=0 );

13 years agono more memostat()
eap [Tue, 18 Jan 2011 12:11:56 +0000 (12:11 +0000)]
no more memostat()

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:11:00 +0000 (12:11 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
  prevent from an infinite recursion via the event listener

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 12:09:32 +0000 (12:09 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
   1) make CheckNodeUV() and CheckNodeU() optionally return XYZ of node
      projection to shape
   2) prevent ancestors iterator from returning duplicates
   3) move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
   4) for hexa 3D
   static bool LoadNodeColumns(TParam2ColumnMap & theParam2ColumnMap,
                               const TopoDS_Face& theFace,
                               const TopoDS_Edge& theBaseEdge,
                               SMESHDS_Mesh*      theMesh,
+                              SMESH_ProxyMesh*   theProxyMesh=0);

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 11:03:09 +0000 (11:03 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
   make SMESH_ElementSearcher work on a sub-set of elements

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 11:02:33 +0000 (11:02 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
   Make const some requiring methods

13 years agominor change
eap [Tue, 18 Jan 2011 11:02:03 +0000 (11:02 +0000)]
minor change

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 11:01:28 +0000 (11:01 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+ SMESH_ProxyMesh.hxx

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 10:59:55 +0000 (10:59 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+    <hypothesis type="ViscousLayers"

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 10:58:51 +0000 (10:58 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
  show arrows on EDGE's only

13 years agountabify
eap [Tue, 18 Jan 2011 10:58:29 +0000 (10:58 +0000)]
untabify

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 10:57:32 +0000 (10:57 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
   Make some methods virtual to enable inheriting by StdMeshers_ProxyMesh::SubMesh

+virtual ~SMESHDS_SubMesh()
+void RemoveAllSubmeshes()

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 10:55:54 +0000 (10:55 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
   Make const some requiring methods

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 10:55:06 +0000 (10:55 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+ SMDS_IteratorOnIterators.hxx

13 years ago0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
eap [Tue, 18 Jan 2011 10:51:03 +0000 (10:51 +0000)]
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+  _Self
+  operator++(int)

+  bool
+  operator==(const _Self& __x) const

13 years agountabify
eap [Tue, 18 Jan 2011 10:49:35 +0000 (10:49 +0000)]
untabify

13 years agoremove extra ;
eap [Tue, 18 Jan 2011 10:48:28 +0000 (10:48 +0000)]
remove extra ;

13 years agodelete node positions at node removal
eap [Tue, 18 Jan 2011 10:47:49 +0000 (10:47 +0000)]
delete node positions at node removal

13 years agoFix for the issue 21127: EDF 1290 SMESH: A user script fails in versions more than 512
rnv [Tue, 18 Jan 2011 08:46:10 +0000 (08:46 +0000)]
Fix for the issue 21127: EDF 1290 SMESH: A user script fails in versions more than 512

13 years agoFix some mispells
gdd [Mon, 17 Jan 2011 16:30:13 +0000 (16:30 +0000)]
Fix some mispells

13 years agoAdd default text and style sheet for StdMeshersGUI_ObjectReferenceParamWdg
gdd [Mon, 17 Jan 2011 10:27:48 +0000 (10:27 +0000)]
Add default text and style sheet for StdMeshersGUI_ObjectReferenceParamWdg

13 years agoFix for the 21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadr...
rnv [Mon, 10 Jan 2011 15:38:48 +0000 (15:38 +0000)]
Fix for the 21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion.

13 years agoFix of IPAL22187: mesh is updated now after removing of orphan nodes.
akl [Mon, 10 Jan 2011 11:43:47 +0000 (11:43 +0000)]
Fix of IPAL22187: mesh is updated now after removing of orphan nodes.

13 years agoCode refactoring
vsr [Wed, 29 Dec 2010 13:17:10 +0000 (13:17 +0000)]
Code refactoring

13 years agoMantis issue 0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group.
jfa [Wed, 29 Dec 2010 10:27:23 +0000 (10:27 +0000)]
Mantis issue 0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group.

13 years agoFix for the issue 0020885: EDF 607 SMESH: Measure tools
rnv [Tue, 28 Dec 2010 16:29:23 +0000 (16:29 +0000)]
Fix for the issue 0020885: EDF 607 SMESH: Measure tools
(See Additional Note 10037)

13 years ago0021105: EDF 1179 SMESH: Efficiency of clipping plane in VTK viewer
ouv [Tue, 28 Dec 2010 12:27:54 +0000 (12:27 +0000)]
0021105: EDF 1179 SMESH: Efficiency of clipping plane in VTK viewer

13 years agoIssue 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells
inv [Fri, 24 Dec 2010 10:59:30 +0000 (10:59 +0000)]
Issue 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells

13 years agoMerge from V6_2_BR 23/12/2010
inv [Fri, 24 Dec 2010 08:18:34 +0000 (08:18 +0000)]
Merge from V6_2_BR 23/12/2010

13 years agoPatch for docutils
gdd [Thu, 23 Dec 2010 09:01:56 +0000 (09:01 +0000)]
Patch for docutils

13 years agouse vtkIdType to be independant of architecture
secher [Wed, 15 Dec 2010 10:13:32 +0000 (10:13 +0000)]
use vtkIdType to be independant of architecture

13 years agoPR: debug imps E3 and E7
prascle [Mon, 6 Dec 2010 16:59:16 +0000 (16:59 +0000)]
PR: debug imps E3 and E7

13 years agoAllow Show/Hide during other SMESH operations. Mantis issue 0021082. V6_2_0a1
jfa [Mon, 6 Dec 2010 14:49:00 +0000 (14:49 +0000)]
Allow Show/Hide during other SMESH operations. Mantis issue 0021082.

13 years agoImprove hack_libtool utility to workaround problems on some Linux configurations
vsr [Mon, 6 Dec 2010 13:06:25 +0000 (13:06 +0000)]
Improve hack_libtool utility to workaround problems on some Linux configurations

13 years agoPR: debug split into tetras
prascle [Sun, 5 Dec 2010 22:57:20 +0000 (22:57 +0000)]
PR: debug split into tetras

13 years agoPR: debug polygons and merge nodes
prascle [Sun, 5 Dec 2010 19:22:06 +0000 (19:22 +0000)]
PR: debug polygons and merge nodes

13 years agoPR: bug in compactGrid with polyhedrons
prascle [Sat, 4 Dec 2010 16:50:15 +0000 (16:50 +0000)]
PR: bug in compactGrid with polyhedrons

13 years agoPR: compactGrid with polyhedrons
prascle [Sat, 4 Dec 2010 15:44:40 +0000 (15:44 +0000)]
PR: compactGrid with polyhedrons

13 years agoPR: fix Transform method with orphan nodes
prascle [Wed, 1 Dec 2010 22:56:36 +0000 (22:56 +0000)]
PR: fix Transform method with orphan nodes

13 years agoFix build problem in --without-gui mode (SMESH engine also depends on VTK now)
vsr [Wed, 1 Dec 2010 08:48:41 +0000 (08:48 +0000)]
Fix build problem in --without-gui mode (SMESH engine also depends on VTK now)

13 years agoPR: correct some warnings
prascle [Tue, 30 Nov 2010 22:35:24 +0000 (22:35 +0000)]
PR: correct some warnings

13 years agomerge from branch BR_SMDS_MEMIMP 29 nov 2010
prascle [Mon, 29 Nov 2010 13:20:53 +0000 (13:20 +0000)]
merge from branch BR_SMDS_MEMIMP 29 nov 2010

13 years agoMerge from V5_1_main 26/11/2010
vsr [Fri, 26 Nov 2010 15:48:22 +0000 (15:48 +0000)]
Merge from V5_1_main 26/11/2010

13 years agoMerge from V5_1_main branch 24/11/2010
vsr [Thu, 25 Nov 2010 12:44:43 +0000 (12:44 +0000)]
Merge from V5_1_main branch 24/11/2010

13 years agoReplace CHECK_MPICH by CHECK_MPI
gdd [Wed, 24 Nov 2010 16:14:13 +0000 (16:14 +0000)]
Replace CHECK_MPICH by CHECK_MPI

13 years ago0021063: [CEA 434] Compilation using gnu compiler v4.5
vsr [Thu, 11 Nov 2010 13:02:20 +0000 (13:02 +0000)]
0021063: [CEA 434] Compilation using gnu compiler v4.5

13 years agoMerge from V6_1_BR 07/09/2010
vsr [Tue, 7 Sep 2010 14:19:57 +0000 (14:19 +0000)]
Merge from V6_1_BR 07/09/2010

13 years agoMerge from V5_1_main 10/06/2010 V6_1_0a1 V6_1_0a2
vsr [Thu, 10 Jun 2010 09:43:07 +0000 (09:43 +0000)]
Merge from V5_1_main 10/06/2010

13 years agoChanging version to 6.1.0
inv [Mon, 24 May 2010 11:54:42 +0000 (11:54 +0000)]
Changing version to 6.1.0

13 years agoMerge from V5_1_main branch 14/05/2010
vsr [Fri, 14 May 2010 20:52:51 +0000 (20:52 +0000)]
Merge from V5_1_main branch 14/05/2010

13 years agoMerge from V5_1_main 14/05/2010
vsr [Fri, 14 May 2010 15:32:37 +0000 (15:32 +0000)]
Merge from V5_1_main 14/05/2010

14 years agofix pb with GetName() in case of meshing imported 2D skin
eap [Fri, 19 Feb 2010 08:43:22 +0000 (08:43 +0000)]
fix pb with GetName() in case of meshing imported 2D skin

14 years ago0020701: Additional fix concerned to the GetName Method changes.
dmv [Thu, 18 Feb 2010 11:28:58 +0000 (11:28 +0000)]
0020701: Additional fix concerned to the GetName Method changes.

14 years ago020700: EDF 1234 SMESH: Quadrangle preference and Netgen
eap [Thu, 18 Feb 2010 08:59:19 +0000 (08:59 +0000)]
020700: EDF 1234 SMESH: Quadrangle preference and Netgen
  * Quadrangle Preference can be used by NETGEN 2D

14 years ago020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
eap [Thu, 18 Feb 2010 08:29:00 +0000 (08:29 +0000)]
020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
 * Correct adding geom groups into map of ansestors

14 years ago0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
eap [Wed, 17 Feb 2010 14:59:19 +0000 (14:59 +0000)]
0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus

1) Try to build nodes using transformation before using block approach
2) workaround for wrong surface.Value(u,v) for UV near boundary of BSline surface

14 years ago0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
eap [Wed, 17 Feb 2010 14:56:40 +0000 (14:56 +0000)]
0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
+  /*!
+   * \brief Return transformations to get coordinates of nodes of each internal layer
+   *        by nodes of the bottom. Layer is a set of nodes at a certain step
+   *        from bottom to top.
+   */
+  bool GetLayersTransformation(std::vector<gp_Trsf> & trsf) const;

14 years agoImprove help system
vsr [Wed, 17 Feb 2010 14:55:58 +0000 (14:55 +0000)]
Improve help system

14 years ago1)
eap [Wed, 17 Feb 2010 14:54:30 +0000 (14:54 +0000)]
1)
+    ## Defines "QuadrangleParams" hypothesis
+    #  @param vertex: vertex of a trilateral geometrical face, around which triangles
+    #                 will be created while other elements will be quadrangles.
+    #                 Vertex can be either a GEOM_Object or a vertex ID within the
+    #                 shape to mesh
+    #
+    def TriangleVertex(self, vertex, UseExisting=0):

2) in FixedPoints1D(), convert geom reversed edges into IDs

14 years agocorrect documetnation page layout
dmv [Wed, 17 Feb 2010 10:13:26 +0000 (10:13 +0000)]
correct documetnation page layout

14 years agoChanges for bug 0020681.
skl [Tue, 16 Feb 2010 11:07:53 +0000 (11:07 +0000)]
Changes for bug 0020681.

14 years agofix Save() and Load()
eap [Tue, 16 Feb 2010 09:32:14 +0000 (09:32 +0000)]
fix Save() and Load()

14 years ago0020702: [CEA] Problem with Segment function of SMESH module
vsr [Tue, 16 Feb 2010 09:20:56 +0000 (09:20 +0000)]
0020702: [CEA] Problem with Segment function of SMESH module
0020701: EDF SMESH : GetName Method of smeshDC.py
Additional fix

14 years agoChanges for bug 0020681.
skl [Tue, 16 Feb 2010 09:19:59 +0000 (09:19 +0000)]
Changes for bug 0020681.

14 years ago0020702: [CEA] Problem with Segment function of SMESH module
dmv [Mon, 15 Feb 2010 09:35:36 +0000 (09:35 +0000)]
0020702: [CEA] Problem with Segment function of SMESH module

14 years agoprotect IndexToShape() from Standard_OutOfRange exception
eap [Mon, 15 Feb 2010 07:11:44 +0000 (07:11 +0000)]
protect IndexToShape() from Standard_OutOfRange exception

14 years agoreport error reasons in case of trilateral face
eap [Fri, 12 Feb 2010 14:27:33 +0000 (14:27 +0000)]
report error reasons in case of trilateral face

14 years agoIssue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump
vsr [Fri, 12 Feb 2010 08:37:10 +0000 (08:37 +0000)]
Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump

14 years agofix case of 2 edges
eap [Fri, 12 Feb 2010 08:15:06 +0000 (08:15 +0000)]
fix case of 2 edges

14 years agoFix compilation problem on Debian Sarge
maintenance team [Fri, 12 Feb 2010 08:03:53 +0000 (08:03 +0000)]
Fix compilation problem on Debian Sarge

14 years agoprecise error message
eap [Fri, 12 Feb 2010 07:41:39 +0000 (07:41 +0000)]
precise error message

14 years agoIssue 0020701: EDF SMESH : GetName Method of smeshDC.py
vsr [Fri, 12 Feb 2010 06:07:26 +0000 (06:07 +0000)]
Issue 0020701: EDF SMESH : GetName Method of smeshDC.py

14 years agoAdditional fix for issue 0020692: Duplicate check_*.m4 between modules.
ouv [Thu, 11 Feb 2010 15:30:29 +0000 (15:30 +0000)]
Additional fix for issue 0020692: Duplicate check_*.m4 between modules.

14 years ago0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
eap [Thu, 11 Feb 2010 13:16:51 +0000 (13:16 +0000)]
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
* Add CheckNodeU()
* Compute parameters of created medium nodes even in force3d mode
* Leave doxygen-style comments of functions only in the header

14 years ago0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh
dmv [Thu, 11 Feb 2010 12:08:34 +0000 (12:08 +0000)]
0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh

14 years agoIssue 0020692: Duplicate check_*.m4 between modules.
ouv [Thu, 11 Feb 2010 10:13:46 +0000 (10:13 +0000)]
Issue 0020692: Duplicate check_*.m4 between modules.

14 years ago0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh comput...
eap [Thu, 11 Feb 2010 08:26:40 +0000 (08:26 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix for internal edges

14 years ago0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh comput...
eap [Thu, 11 Feb 2010 08:25:06 +0000 (08:25 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix GetOrderedEdges(): workaroud for BRepTools_WireExplorer, which return no edges if they are internal

14 years agoclear auxiliary data after Compute()
eap [Wed, 10 Feb 2010 07:36:45 +0000 (07:36 +0000)]
clear auxiliary data after Compute()

14 years ago0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
eap [Tue, 9 Feb 2010 11:17:06 +0000 (11:17 +0000)]
0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
 * Redesign in order to bind two pyramids to one base quadrangle.
 * Check presence of 3D elements sharing the base quadrangle.

14 years agoMake TNodeXYZ public, which together with SMDS_StdIterator allows getting coordinates...
eap [Tue, 9 Feb 2010 11:13:23 +0000 (11:13 +0000)]
Make TNodeXYZ public, which together with SMDS_StdIterator allows getting coordinates of all nodes of mesh element in a couple of lines of code:

  typedef SMDS_StdIterator< SMESH_MeshEditor::TNodeXYZ, SMDS_ElemIteratorPtr > TXyzIterator;
  vector<gp_Pnt> coords( TXyzIterator( elem->nodesIterator()), TXyzIterator() );

class SMESH_EXPORT SMESH_MeshEditor
{
public:
+  //------------------------------------------
+  /*!
+   * \brief SMDS_MeshNode -> gp_XYZ convertor
+   */
+  //------------------------------------------
+  struct TNodeXYZ : public gp_XYZ

14 years ago+ // std-like iteration on nodes
eap [Tue, 9 Feb 2010 11:03:51 +0000 (11:03 +0000)]
+  // std-like iteration on nodes
+  typedef SMDS_StdIterator< const SMDS_MeshNode*, SMDS_ElemIteratorPtr > iterator;
+  iterator begin_nodes() const { return iterator( nodesIterator() ); }
+  iterator end_nodes()   const { return iterator(); }

14 years ago const SMDS_MeshElement* next()
eap [Tue, 9 Feb 2010 11:03:15 +0000 (11:03 +0000)]
   const SMDS_MeshElement* next()
   {
+    if ( !more() ) return 0;

14 years agoAdd iterator, wrapper over SMDS_Iterator, adding std-like operators *, ++ etc
eap [Tue, 9 Feb 2010 11:02:53 +0000 (11:02 +0000)]
Add iterator, wrapper over SMDS_Iterator, adding std-like operators *, ++ etc
+ SMDS_StdIterator.hxx

14 years ago- SMDS_MeshElement * MeshElement(int ID);
eap [Tue, 9 Feb 2010 07:02:21 +0000 (07:02 +0000)]
-  SMDS_MeshElement * MeshElement(int ID);
+  SMDS_MeshElement * MeshElement(int ID) const;

14 years agoWrite nodes in the order of increasing ids
eap [Mon, 8 Feb 2010 14:39:14 +0000 (14:39 +0000)]
Write nodes in the order of increasing ids

-      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
+      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator(/*idInceasingOrder=*/true);