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 |
|