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
0019941: EDF 766 SMESH : Max length hypothesis
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_Hypothesis.hxx
diff --git
a/src/SMESH/SMESH_Hypothesis.hxx
b/src/SMESH/SMESH_Hypothesis.hxx
index 366ffeab10ced48d8290417a09e6bfd9a915f9d9..d62f22352e91d93af46ea5cfdbc2d5869722bd04 100644
(file)
--- a/
src/SMESH/SMESH_Hypothesis.hxx
+++ b/
src/SMESH/SMESH_Hypothesis.hxx
@@
-85,11
+85,16
@@
public:
*/
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape)=0;
*/
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape)=0;
+ struct TDefaults
+ {
+ double _elemLength;
+ int _nbSegments;
+ };
/*!
/*!
- * \brief Initialize my parameter values by
linear size of mesh element
.
+ * \brief Initialize my parameter values by
default parameters
.
* \retval bool - true if parameter values have been successfully defined
*/
* \retval bool - true if parameter values have been successfully defined
*/
- virtual bool SetParametersBy
ElementSize(double elemLenght
, const SMESH_Mesh* theMesh=0)=0;
+ virtual bool SetParametersBy
Defaults(const TDefaults& dflts
, const SMESH_Mesh* theMesh=0)=0;
/*!
* \brief Return true if me is an auxiliary hypothesis
/*!
* \brief Return true if me is an auxiliary hypothesis