X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_AutomaticLength.hxx;h=ba7504985779ea3c5a9f7be9b675927062b4bd4c;hb=3fa5dd52edd2d2e870d2f4c85d1a64b0d791a9c9;hp=a9194dce78d041aeb4d3bef936f9b19ff6a930cf;hpb=9d11375af40826e967ab2c3bcb77d1f9d439c90c;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_AutomaticLength.hxx b/src/StdMeshers/StdMeshers_AutomaticLength.hxx index a9194dce7..ba7504985 100644 --- a/src/StdMeshers/StdMeshers_AutomaticLength.hxx +++ b/src/StdMeshers/StdMeshers_AutomaticLength.hxx @@ -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 _TShapeToLength; const SMESH_Mesh* _mesh; - double _fineness; + double _fineness, _S0, _minLen; }; #endif