eap
9167a6a24d
Remove unused method
...
- bool emptyInverseElements();
2010-09-27 06:21:30 +00:00
eap
52e29b1d26
0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
...
bool IsLinked (const SMDS_MeshNode* theNode1,
const SMDS_MeshNode* theNode2,
+ const bool theIgnoreMediumNodes=false) const;
// Return true if theNode1 is linked with theNode2.
+ // If theIgnoreMediumNodes then corner nodes of quadratic cell are considered linked as well
2010-09-15 15:11:26 +00:00
eap
b5eb9a6a03
use linked nodes to get an upward direction when defining orientation
2010-09-07 06:35:44 +00:00
eap
32e5402500
Implement iteration in id increasing order
...
- SMDS_NodeIteratorPtr nodesIterator(bool idInceasingOrder=false) const;
- SMDS_0DElementIteratorPtr elements0dIterator() const;
- SMDS_EdgeIteratorPtr edgesIterator() const;
- SMDS_FaceIteratorPtr facesIterator() const;
- SMDS_VolumeIteratorPtr volumesIterator() const;
+ SMDS_NodeIteratorPtr nodesIterator (bool idInceasingOrder=false) const;
+ SMDS_0DElementIteratorPtr elements0dIterator(bool idInceasingOrder=false) const;
+ SMDS_EdgeIteratorPtr edgesIterator (bool idInceasingOrder=false) const;
+ SMDS_FaceIteratorPtr facesIterator (bool idInceasingOrder=false) const;
+ SMDS_VolumeIteratorPtr volumesIterator (bool idInceasingOrder=false) const;
2010-08-19 09:17:39 +00:00
vsr
6650dea1f8
Merge from V5_1_4_BR 07/05/2010
2010-05-07 15:08:23 +00:00
eap
0e2bac7865
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
...
+ virtual int NbCornerNodes() const;
2010-03-30 12:33:10 +00:00
eap
1f50f137e3
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
...
* Implement GetFaceNodesIndices() for polyhedrons
2010-03-30 12:32:41 +00:00
eap
8abf245a59
/*!
...
+ * 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);
2010-03-30 12:27:31 +00:00
eap
0e70fe931b
fix FindFace() after the previous integration
2010-03-10 13:21:56 +00:00
eap
f4bf7b006c
- const SMDS_MeshFace *FindFace(std::vector<int> nodes_ids) const;
...
+ const SMDS_MeshFace *FindFace(const std::vector<int>& nodes_ids) const;
- static const SMDS_MeshFace* FindFace(std::vector<const SMDS_MeshNode *> nodes);
+ static const SMDS_MeshFace* FindFace(const std::vector<const SMDS_MeshNode *>& nodes);
2010-03-10 06:43:17 +00:00
eap
0811f1f0ea
a little optimize FindFace (std::vector<const SMDS_MeshNode *> nodes)
2010-03-09 08:17:43 +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