]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
authoreap <eap@opencascade.com>
Thu, 10 Sep 2009 05:29:55 +0000 (05:29 +0000)
committereap <eap@opencascade.com>
Thu, 10 Sep 2009 05:29:55 +0000 (05:29 +0000)
commit0f2c407672349bcb4369bf9b210913d945a10ca5
tree53112a6dc468500d7c0324a8e03e4b05457af5b2
parentba741219dff4ed336cc420646a56db977cd967c1
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode

 struct SMESH_NodeSearcher
 {
   virtual const SMDS_MeshNode* FindClosestTo( const gp_Pnt& pnt ) = 0;
+  virtual void MoveNode( const SMDS_MeshNode* node, const gp_Pnt& toPnt ) = 0;
 };

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+//=======================================================================
+/*!
+ * \brief Return elements of given type where the given point is IN or ON.
+ *
+ * 'ALL' type means elements of any type excluding nodes and 0D elements
+ */
+//=======================================================================
+
+struct SMESH_ElementSearcher
+{
+  virtual void FindElementsByPoint(const gp_Pnt&                           point,
+                                   SMDSAbs_ElementType                     type,
+                                   std::vector< const SMDS_MeshElement* >& foundNodes)=0;
+};
src/SMESH/SMESH_MeshEditor.cxx
src/SMESH/SMESH_MeshEditor.hxx