Salome HOME
PAL16202,16203 (Propagation 1D on edges group)
[modules/smesh.git] / src / StdMeshers / StdMeshers_AutomaticLength.hxx
index a9194dce78d041aeb4d3bef936f9b19ff6a930cf..ba7504985779ea3c5a9f7be9b675927062b4bd4c 100644 (file)
@@ -53,9 +53,18 @@ public:
   StdMeshers_AutomaticLength(int hypId, int studyId, SMESH_Gen * gen);
   virtual ~ StdMeshers_AutomaticLength();
 
+  /*!
+   * \brief Computes segment for a given edge
+   */
   double GetLength(const SMESH_Mesh* aMesh, const TopoDS_Shape& anEdge)
     throw(SALOME_Exception);
 
+  /*!
+   * \brief Computes segment length for an edge of given length
+   */
+  double GetLength(const SMESH_Mesh* aMesh, const double edgeLength)
+    throw(SALOME_Exception);
+
   /*!
    * \brief Set Fineness
     * \param theFineness - The Fineness value [0.0-1.0],
@@ -91,7 +100,7 @@ public:
 protected:
   std::map<const TopoDS_TShape*, double> _TShapeToLength;
   const SMESH_Mesh* _mesh;
-  double _fineness;
+  double _fineness, _S0, _minLen;
 };
 
 #endif