From 252f86c5c3d11950406e182364e25429759c34ec Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 23 Jan 2009 14:10:33 +0000 Subject: [PATCH] 0019941: EDF 766 SMESH : Max length hypothesis - virtual bool SetParametersByElementSize(double elemLenght, const SMESH_Mesh* theMesh=0)=0; + virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0)=0; --- src/GHS3DPlugin_Hypothesis.cxx | 4 ++-- src/GHS3DPlugin_Hypothesis.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin_Hypothesis.cxx index 1316550..3a29541 100644 --- a/src/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin_Hypothesis.cxx @@ -495,8 +495,8 @@ bool GHS3DPlugin_Hypothesis::SetParametersByMesh(const SMESH_Mesh* ,const TopoDS */ //================================================================================ -bool GHS3DPlugin_Hypothesis::SetParametersByElementSize(double /*elemLenght*/, - const SMESH_Mesh* /*theMesh*/) +bool GHS3DPlugin_Hypothesis::SetParametersByDefaults(const TDefaults& /*dflts*/, + const SMESH_Mesh* /*theMesh*/) { return false; } diff --git a/src/GHS3DPlugin_Hypothesis.hxx b/src/GHS3DPlugin_Hypothesis.hxx index 1f11f75..1c59739 100644 --- a/src/GHS3DPlugin_Hypothesis.hxx +++ b/src/GHS3DPlugin_Hypothesis.hxx @@ -131,7 +131,7 @@ public: /*! * \brief Does nothing */ - virtual bool SetParametersByElementSize( double elemLenght, const SMESH_Mesh* theMesh=0); + virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0); private: -- 2.39.2