//=============================================================================
/*!
- * \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
*/
//=============================================================================
-bool BLSURFPlugin_Hypothesis::SetParametersByElementSize( double elemLenght,
- const SMESH_Mesh* theMesh)
+bool BLSURFPlugin_Hypothesis::SetParametersByDefaults(const TDefaults& dflts,
+ const SMESH_Mesh* theMesh)
{
- return bool( _phySize = elemLenght );
+ return bool( _phySize = dflts._elemLength );
}
//=============================================================================
virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
/*!
- * \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
*/
- virtual bool SetParametersByElementSize( double elemLenght, const SMESH_Mesh* theMesh=0);
+ virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0);
private:
Topology _topology;