Commit Graph

127 Commits

Author SHA1 Message Date
eap
cbe181b40c untabify 2011-01-18 10:49:35 +00:00
eap
1876773996 remove extra ; 2011-01-18 10:48:28 +00:00
eap
6e58f2fb40 delete node positions at node removal 2011-01-18 10:47:49 +00:00
rnv
0c1947cfe5 Fix for the issue 21127: EDF 1290 SMESH: A user script fails in versions more than 512 2011-01-18 08:46:10 +00:00
rnv
96cbac2048 Fix for the 21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion. 2011-01-10 15:38:48 +00:00
inv
2de294b09a Merge from V6_2_BR 23/12/2010 2010-12-24 08:18:34 +00:00
secher
1f7581fe43 use vtkIdType to be independant of architecture 2010-12-15 10:13:32 +00:00
prascle
43a4d0b5c1 PR: debug polygons and merge nodes 2010-12-05 19:22:06 +00:00
prascle
5927f96360 PR: bug in compactGrid with polyhedrons 2010-12-04 16:50:15 +00:00
prascle
0d10253e8d PR: compactGrid with polyhedrons 2010-12-04 15:44:40 +00:00
prascle
2e16ca1281 PR: correct some warnings 2010-11-30 22:35:24 +00:00
prascle
8fa039a796 merge from branch BR_SMDS_MEMIMP 29 nov 2010 2010-11-29 13:20:53 +00:00
vsr
d8f644ca3d Merge from V5_1_main branch 24/11/2010 2010-11-25 12:44:43 +00:00
vsr
9357f5c870 Merge from V5_1_main 14/05/2010 2010-05-14 15:32:37 +00:00
eap
c8050ec0d5 + // 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(); }
2010-02-09 11:03:51 +00:00
eap
1088385e70 const SMDS_MeshElement* next()
{
+    if ( !more() ) return 0;
2010-02-09 11:03:15 +00:00
eap
48378761b2 Add iterator, wrapper over SMDS_Iterator, adding std-like operators *, ++ etc
+	SMDS_StdIterator.hxx
2010-02-09 11:02:53 +00:00
eap
1fd762e26c - SMDS_MeshElement * MeshElement(int ID);
+  SMDS_MeshElement * MeshElement(int ID) const;
2010-02-09 07:02:21 +00:00
eap
509187908d Add an utility to iterate on nodes in the order of increasing ids
-  SMDS_NodeIteratorPtr nodesIterator() const;
+  SMDS_NodeIteratorPtr nodesIterator(bool idInceasingOrder=false) const;
2010-02-08 14:38:03 +00:00
eap
5e7f07d3da untabify 2009-12-10 14:52:59 +00:00
eap
72ca340bff untabify 2009-10-02 16:19:27 +00:00
eap
ed0a000310 untabify 2009-09-14 12:00:44 +00:00
eap
9c4c09606e untabify 2009-09-10 12:51:28 +00:00
eap
ba741219df 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+  bool IsOut(double X, double Y, double Z, double tol);
+  // Classify a point
2009-09-10 05:19:01 +00:00
jfa
874fdebf62 Bug 0020403: Clear mesh data doen't 'free' the memory. 2009-08-27 06:22:59 +00:00
eap
53d936f2cd untabify 2009-08-24 08:45:30 +00:00
eap
7da5ad9632 untabify 2009-08-24 07:27:17 +00:00
ptv
79c00fe8dd 0020095: EDF 896 SMESH : Advanced Mesh info on a group 2009-08-21 05:41:59 +00:00
jfa
f4ba12e460 Correct bugs, connected with 0D Elements implementation (IMP 20089, BUG 21300) 2009-08-04 12:22:34 +00:00
jfa
4592fecfcf IMP 0020089: Take into account 0D elements (MED_POINT1) 2009-07-16 13:33:03 +00:00
vsr
686a864564 Merge from V5_1_2_BR branch (14 July 2009) 2009-07-15 08:11:22 +00:00
eap
02846fd083 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
+  inline int NbElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:38:26 +00:00
eap
51a896bafb 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
-  SMDS_ElemIteratorPtr elementsIterator() const;
+  SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:35:37 +00:00
eap
91d01b7efe + const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedIndex( ind )); }
+// ============================================================
+/*!
+ * \brief Comparator of elements by ID for usage in std containers
+ */
+// ============================================================
+
+struct TIDCompare {
+  bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
+  { return e1->GetID() < e2->GetID(); }
+};
2009-05-19 15:13:59 +00:00
eap
b6986ac1b1 GetNode(int index) no longer wraps index, rather GetNodeWrap(int index) does 2009-05-19 15:12:54 +00:00
eap
167a4d4243 In Clear(), nullify nb of poly elements 2009-02-25 15:13:26 +00:00
vsr
0635c9fc80 Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00
jfa
79b1ac2b6d Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
jfa
c63ee099ad Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
jfa
57b43b4d01 Join modifications from branch OCC_debug_for_3_2_0b1 2006-05-06 08:51:48 +00:00
jfa
4ff5bd6154 Join modifications from branch OCC_development_for_3_2_0a2 2006-03-13 15:29:49 +00:00
smh
2754c581d3 Copyrights update 2005-12-05 16:31:55 +00:00
eap
52f87e4dea IMP 10199 (add Volume Control). Implement GetSize(). Add GetVolumeType() of instance 2005-10-10 14:38:24 +00:00
eap
365fd031c5 IMP 10199 (add Volume Control). Add GetVolumeType() of instance 2005-10-10 14:37:11 +00:00
szy
d9d247d43d Windows porting 2005-08-31 10:10:42 +00:00
szy
42c7eb97f9 Windows porting 2005-08-30 12:57:02 +00:00
sln
bbfbac1990 GetElementType method added 2005-08-23 08:58:58 +00:00
eap
5a053fbfd0 fix compilation error 2005-06-15 05:31:12 +00:00
eap
5467bb25d4 PAL9163. Fix GetFaceNormal() for badly shaped quadrangles 2005-06-14 10:19:12 +00:00
smh
c38c10811a SMH: Preparation version 3.0.0 - merge (HEAD+POLYWORK) 2005-06-07 13:22:20 +00:00
san
e465982eeb Implementation of new pattern mapping algorthm (mesh refinement) 2005-01-20 14:44:17 +00:00
admin
090aff0726 Merge with OCC_development_01 2005-01-20 06:25:54 +00:00
admin
e4737e85f0 Merge with version on tag OCC-V2_1_0d 2004-12-01 10:48:31 +00:00
yfr
c3bf92bd87 DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
jrt
9fad60b470 Fix bug SMESH5512 (Crash on DEBIAN woody, V1_4_0b). 2004-03-23 09:48:58 +00:00
jrt
7b70ad87bf Merge br_enable_import_mesh. Enable import mesh and save/load SMESH study. 2004-03-15 18:42:16 +00:00
jrt
642ed0a836 Fix a bug (crash when adding an hexahedron from ids). 2004-02-02 16:43:59 +00:00
jrt
fad0769be8 [Bug SMESH4830] bug in instal with gcc 2.95. Bug fixed.
Note: SGI say that <algorithm> is requiered to use set_intersection (see http://www.sgi.com/tech/stl/set_intersection.html).
2004-01-05 09:05:43 +00:00
jrt
81ed9b4662 Fix/implement removeNode, removeEdge, removeFace, removeVolume and removeElement 2003-10-22 15:28:19 +00:00
jrt
e02efafc15 Fix a bug. Quadrangles were added as triangles. 2003-10-17 16:31:14 +00:00
jrt
bef8537764 Keep compatible with gcc 2 2003-09-23 14:33:41 +00:00
jrt
5eead45ced Freshly added file 2003-09-22 12:23:34 +00:00
jrt
e0b529896b Add HexahedronOfNodes and Tria3OfNodes to improve performance 2003-09-12 15:12:19 +00:00
jrt
aa64a62c43 Fix bug. Was always printing 8 nodes 2003-09-12 15:11:29 +00:00
jrt
4ea4ccf36f Add support for tetra, pyramid and prism 2003-09-08 15:04:54 +00:00
jrt
00c069f8d4 Add some comments 2003-09-08 13:41:48 +00:00
jrt
888669652e Some forgotten return statments 2003-09-05 12:19:11 +00:00
jrt
145c89df59 Change API to use pointer on elements and no longer ID of elements 2003-09-05 10:20:27 +00:00
jrt
c914dd6b70 Remove no longer needed files 2003-09-04 14:50:14 +00:00
jrt
484fe83a97 New DS implementation 2003-09-03 17:30:36 +00:00
jrt
13b8c20dfc Remove Opencascade dependencies 2003-09-03 17:29:04 +00:00
jrt
355ad71d20 comments 2003-09-03 17:21:56 +00:00
jrt
ec6221e48c Add iterator classes 2003-09-03 17:21:40 +00:00
jrt
760467780f Remove wok files. Comment no longer needed files 2003-09-03 17:16:58 +00:00
jrt
8d51808a8f Add needed class for the new DS 2003-09-03 17:09:43 +00:00
yfr
007c019133 yfr : Merge with v1.2 2003-07-10 09:49:12 +00:00
nri
c6248ade99 NRI : First integration. 2003-05-19 13:49:00 +00:00