]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH/SMESH_Gen.hxx
Salome HOME
IPAL21265 It's impossible to select edge for Reverce in Arithmetic 1D Hypothesis...
[modules/smesh.git] / src / SMESH / SMESH_Gen.hxx
index 46c00dc2c9ff6ae9c69e495b12de89e1c17e0f67..57a5af6ebd748363a730cc3534789683b874565f 100644 (file)
@@ -81,6 +81,19 @@ class SMESH_EXPORT  SMESH_Gen
               const ::MeshDimension aDim=::MeshDim_3D,
               TSetOfInt*            aShapesId=0);
 
+  /*!
+   * \brief evaluates size of prospective mesh on a shape 
+   * \param aMesh - the mesh
+   * \param aShape - the shape
+   * \param aResMap - map for prospective numbers of elements
+   * \retval bool - is a success
+   */
+  bool Evaluate(::SMESH_Mesh &        aMesh,
+               const TopoDS_Shape &  aShape,
+               MapShapeNbElems&      aResMap,
+                const bool            anUpward=false,
+                TSetOfInt*            aShapesId=0);
+
   bool CheckAlgoState(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape);
   // notify on bad state of attached algos, return false
   // if Compute() would fail because of some algo bad state