NETGENPlugin_Hypothesis_i::
NETGENPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
::SMESH_Gen* theGenImpl)
- : SALOME::GenericObj_i( thePOA ),
+ : SALOME::GenericObj_i( thePOA ),
SMESH_Hypothesis_i( thePOA ),
mySetMethodFlags(0)
{
//=======================================================================
//function : SetNbSurfOptSteps
-//purpose :
+//purpose :
//=======================================================================
void NETGENPlugin_Hypothesis_i::SetNbSurfOptSteps(CORBA::Short nb )
//=======================================================================
//function : SetNbVolOptSteps
-//purpose :
+//purpose :
//=======================================================================
void NETGENPlugin_Hypothesis_i::SetNbVolOptSteps(CORBA::Short nb )
//=======================================================================
//function : SetElemSizeWeight
-//purpose :
+//purpose :
//=======================================================================
void NETGENPlugin_Hypothesis_i::SetElemSizeWeight(CORBA::Double size )
//=======================================================================
//function : SetWorstElemMeasure
-//purpose :
+//purpose :
//=======================================================================
void NETGENPlugin_Hypothesis_i::SetWorstElemMeasure(CORBA::Short val )
//=======================================================================
//function : GetWorstElemMeasure
-//purpose :
+//purpose :
//=======================================================================
CORBA::Short NETGENPlugin_Hypothesis_i::GetWorstElemMeasure()
return (CORBA::Short) GetImpl()->GetWorstElemMeasure();
}
-//=======================================================================
-//function : SetNbThreads
-//purpose :
-//=======================================================================
-
-void NETGENPlugin_Hypothesis_i::SetNbThreads(CORBA::Short val )
-{
- if ( GetNbThreads() != val )
- {
- this->GetImpl()->SetNbThreads( val );
- SMESH::TPythonDump() << _this() << ".SetNbThreads( " << SMESH::TVar(val) << " )";
- }
-}
-
-//=======================================================================
-//function : GetNbThreads
-//purpose :
-//=======================================================================
-
-CORBA::Short NETGENPlugin_Hypothesis_i::GetNbThreads()
-{
- return (CORBA::Short) GetImpl()->GetNbThreads();
-}
-
//=======================================================================
//function : SetUseDelauney
-//purpose :
+//purpose :
//=======================================================================
void NETGENPlugin_Hypothesis_i::SetUseDelauney(CORBA::Boolean toUse)
//=======================================================================
//function : GetUseDelauney
-//purpose :
+//purpose :
//=======================================================================
CORBA::Boolean NETGENPlugin_Hypothesis_i::GetUseDelauney()
//=======================================================================
//function : SetCheckOverlapping
-//purpose :
+//purpose :
//=======================================================================
void NETGENPlugin_Hypothesis_i::SetCheckOverlapping(CORBA::Boolean toCheck )
//=======================================================================
//function : GetCheckOverlapping
-//purpose :
+//purpose :
//=======================================================================
CORBA::Boolean NETGENPlugin_Hypothesis_i::GetCheckOverlapping()
//=======================================================================
//function : SetCheckChartBoundary
-//purpose :
+//purpose :
//=======================================================================
void NETGENPlugin_Hypothesis_i::SetCheckChartBoundary(CORBA::Boolean toCheck )
//================================================================================
/*!
- * \brief Verify whether hypothesis supports given entity type
+ * \brief Verify whether hypothesis supports given entity type
* \param type - dimension (see SMESH::Dimension enumeration)
* \retval CORBA::Boolean - TRUE if dimension is supported, FALSE otherwise
- *
+ *
* Verify whether hypothesis supports given entity type (see SMESH::Dimension enumeration)
*/
-//================================================================================
+//================================================================================
CORBA::Boolean NETGENPlugin_Hypothesis_i::IsDimSupported( SMESH::Dimension type )
{
return type == SMESH::DIM_3D;