NETGENPluginGUI_HypothesisCreator( const QString& );
virtual ~NETGENPluginGUI_HypothesisCreator();
- virtual bool checkParams(QString& /*msg*/) const;
+ virtual bool checkParams(QString&) const;
virtual QString helpPage() const;
protected:
* \param theShape - the geometry of interest
* \retval bool - always false
*/
- virtual bool SetParametersByMesh(const SMESH_Mesh* /*theMesh*/, const TopoDS_Shape& /*theShape*/);
+ virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
/*!
* \brief Initialize my parameter values by default parameters.
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & /*subIDArray*/ ) const;
+ std::vector< int > & subIDArray ) const;
// Set new geometry instead of that returned by getObjectsDependOn()
virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & /*subIDArray*/ );
+ std::vector< int > & subIDArray );
protected:
OCC_CATCH_SIGNALS;
BRepMesh_IncrementalMesh e(shape, 0.01, true);
}
- catch (Standard_Failure)
+ catch (Standard_Failure&)
{
}
// updated.erase( triangulation.operator->() );
comment << text(ex);
//err = 1; -- try to make volumes anyway
}
- catch (netgen::NgException exc)
+ catch (netgen::NgException& exc)
{
comment << text(exc);
//err = 1; -- try to make volumes anyway
comment << text(ex);
err = 1;
}
- catch (netgen::NgException exc)
+ catch (netgen::NgException& exc)
{
if ( comment.empty() ) // do not overwrite a previous error
comment << text(exc);
if ( comment.empty() ) // do not overwrite a previous error
comment << text(ex);
}
- catch (netgen::NgException exc)
+ catch (netgen::NgException& exc)
{
if ( comment.empty() ) // do not overwrite a previous error
comment << text(exc);
if ( comment.empty() ) // do not overwrite a previous error
comment << "Exception in netgen at passing to 2nd order ";
}
- catch (netgen::NgException exc)
+ catch (netgen::NgException& exc)
{
if ( comment.empty() ) // do not overwrite a previous error
comment << exc.What();
bool Evaluate(MapShapeNbElems& aResMap);
- double GetProgress(const SMESH_Algo* /*holder*/,
+ double GetProgress(const SMESH_Algo* holder,
const int * algoProgressTic,
const double * algoProgress) const;
str << ": " << ex.GetMessageString();
error(str);
}
- catch (netgen::NgException exc)
+ catch (netgen::NgException& exc)
{
SMESH_Comment str("NgException");
if ( strlen( netgen::multithread.task ) > 0 )
virtual bool Compute(SMESH_Mesh & theMesh, SMESH_MesherHelper* theHelper);
- virtual bool Compute(SMESH_Mesh& /*theMesh*/, const TopoDS_Shape& /*theShape*/);
+ virtual bool Compute(SMESH_Mesh& theMesh, const TopoDS_Shape& theShape);
virtual void CancelCompute();
virtual double GetProgress() const;
- virtual bool Evaluate(SMESH_Mesh& /*theMesh*/,
- const TopoDS_Shape& /*theShape*/,
- MapShapeNbElems& /*theResMap*/);
+ virtual bool Evaluate(SMESH_Mesh& theMesh,
+ const TopoDS_Shape& theShape,
+ MapShapeNbElems& theResMap);
protected:
// Destructor
virtual ~NETGENPlugin_SimpleHypothesis_2D_i();
- void SetNumberOfSegments(CORBA::Short nb) ;
+ void SetNumberOfSegments(CORBA::Short nb);
CORBA::Short GetNumberOfSegments();
void SetLocalLength(CORBA::Double segmentLength);
// method used to convert variable parameters stored in an old study
// into myMethod2VarParams. It should return a method name for an index of
// variable parameters. Index is countered from zero
- virtual std::string getMethodOfParameter(const int paramIndex, int /*nbVars*/) const;
+ virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
// Methods for copying mesh definition to other geometry
aCreator = new NETGENPlugin_Creator_i<NETGENPlugin_SimpleHypothesis_3D_i>;
else if (strcmp(aHypName, "NETGEN_RemesherParameters_2D") == 0)
aCreator = new NETGENPlugin_Creator_i<NETGENPlugin_RemesherHypothesis_2D_i>;
- else ;
return aCreator;
}