Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_AutomaticLength.hxx
diff --git
a/src/StdMeshers/StdMeshers_AutomaticLength.hxx
b/src/StdMeshers/StdMeshers_AutomaticLength.hxx
index c1049345b37b7fcd63c41d6fd61e26ff601985d5..ba7504985779ea3c5a9f7be9b675927062b4bd4c 100644
(file)
--- a/
src/StdMeshers/StdMeshers_AutomaticLength.hxx
+++ b/
src/StdMeshers/StdMeshers_AutomaticLength.hxx
@@
-29,6
+29,8
@@
#ifndef _SMESH_AutomaticLength_HXX_
#define _SMESH_AutomaticLength_HXX_
#ifndef _SMESH_AutomaticLength_HXX_
#define _SMESH_AutomaticLength_HXX_
+#include "SMESH_StdMeshers.hxx"
+
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
@@
-45,15
+47,24
@@
class TopoDS_TShape;
* S = S0 * f(L/Lmin) where f(x) = 1 + (2/Pi * 7 * atan(x/5) )
*/
* S = S0 * f(L/Lmin) where f(x) = 1 + (2/Pi * 7 * atan(x/5) )
*/
-class StdMeshers_AutomaticLength:public SMESH_Hypothesis
+class S
TDMESHERS_EXPORT S
tdMeshers_AutomaticLength:public SMESH_Hypothesis
{
public:
StdMeshers_AutomaticLength(int hypId, int studyId, SMESH_Gen * gen);
virtual ~ StdMeshers_AutomaticLength();
{
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);
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],
/*!
* \brief Set Fineness
* \param theFineness - The Fineness value [0.0-1.0],
@@
-89,7
+100,7
@@
public:
protected:
std::map<const TopoDS_TShape*, double> _TShapeToLength;
const SMESH_Mesh* _mesh;
protected:
std::map<const TopoDS_TShape*, double> _TShapeToLength;
const SMESH_Mesh* _mesh;
- double _fineness;
+ double _fineness
, _S0, _minLen
;
};
#endif
};
#endif