mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 19:00:33 +05:00
IsDimSupported method added
This commit is contained in:
parent
20e4b250ef
commit
ea3e3193e3
@ -128,3 +128,17 @@ CORBA::Double StdMeshers_Arithmetic1D_i::GetLength( CORBA::Boolean theIsStart)
|
|||||||
return ( ::StdMeshers_Arithmetic1D* )myBaseImpl;
|
return ( ::StdMeshers_Arithmetic1D* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_Arithmetic1D_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_1D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -58,6 +58,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_Arithmetic1D* GetImpl();
|
::StdMeshers_Arithmetic1D* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -127,3 +127,18 @@ CORBA::Double StdMeshers_Deflection1D_i::GetDeflection()
|
|||||||
MESSAGE( "StdMeshers_Deflection1D_i::GetImpl" );
|
MESSAGE( "StdMeshers_Deflection1D_i::GetImpl" );
|
||||||
return ( ::StdMeshers_Deflection1D* )myBaseImpl;
|
return ( ::StdMeshers_Deflection1D* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_Deflection1D_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_1D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -61,6 +61,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_Deflection1D* GetImpl();
|
::StdMeshers_Deflection1D* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -119,3 +119,17 @@ CORBA::Long StdMeshers_LengthFromEdges_i::GetMode()
|
|||||||
return ( ::StdMeshers_LengthFromEdges* )myBaseImpl;
|
return ( ::StdMeshers_LengthFromEdges* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_LengthFromEdges_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_2D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -59,6 +59,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_LengthFromEdges* GetImpl();
|
::StdMeshers_LengthFromEdges* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -127,3 +127,18 @@ CORBA::Double StdMeshers_LocalLength_i::GetLength()
|
|||||||
MESSAGE( "StdMeshers_LocalLength_i::GetImpl" );
|
MESSAGE( "StdMeshers_LocalLength_i::GetImpl" );
|
||||||
return ( ::StdMeshers_LocalLength* )myBaseImpl;
|
return ( ::StdMeshers_LocalLength* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_LocalLength_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_1D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -61,6 +61,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_LocalLength* GetImpl();
|
::StdMeshers_LocalLength* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -127,3 +127,18 @@ CORBA::Double StdMeshers_MaxElementArea_i::GetMaxElementArea()
|
|||||||
MESSAGE( "StdMeshers_MaxElementArea_i::GetImpl" );
|
MESSAGE( "StdMeshers_MaxElementArea_i::GetImpl" );
|
||||||
return ( ::StdMeshers_MaxElementArea* )myBaseImpl;
|
return ( ::StdMeshers_MaxElementArea* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_MaxElementArea_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_2D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -59,6 +59,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_MaxElementArea* GetImpl();
|
::StdMeshers_MaxElementArea* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -128,3 +128,17 @@ CORBA::Double StdMeshers_MaxElementVolume_i::GetMaxElementVolume()
|
|||||||
return ( ::StdMeshers_MaxElementVolume* )myBaseImpl;
|
return ( ::StdMeshers_MaxElementVolume* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_MaxElementVolume_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_3D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -59,6 +59,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_MaxElementVolume* GetImpl();
|
::StdMeshers_MaxElementVolume* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -62,3 +62,20 @@ StdMeshers_NotConformAllowed_i::StdMeshers_NotConformAllowed_i
|
|||||||
StdMeshers_NotConformAllowed_i::~StdMeshers_NotConformAllowed_i()
|
StdMeshers_NotConformAllowed_i::~StdMeshers_NotConformAllowed_i()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_NotConformAllowed_i::IsDimSupported( SMESH::Dimension /*type*/ )
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,6 +45,9 @@ public:
|
|||||||
int studyId,
|
int studyId,
|
||||||
::SMESH_Gen* genImpl);
|
::SMESH_Gen* genImpl);
|
||||||
virtual ~StdMeshers_NotConformAllowed_i();
|
virtual ~StdMeshers_NotConformAllowed_i();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
::StdMeshers_NotConformAllowed* _impl;
|
::StdMeshers_NotConformAllowed* _impl;
|
||||||
|
@ -332,3 +332,17 @@ CORBA::Boolean StdMeshers_NumberOfSegments_i::IsExponentMode()
|
|||||||
return ( ::StdMeshers_NumberOfSegments* )myBaseImpl;
|
return ( ::StdMeshers_NumberOfSegments* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_NumberOfSegments_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_1D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -94,6 +94,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_NumberOfSegments* GetImpl();
|
::StdMeshers_NumberOfSegments* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -74,3 +74,18 @@ StdMeshers_Propagation_i::~StdMeshers_Propagation_i()
|
|||||||
MESSAGE( "StdMeshers_Propagation_i::GetImpl" );
|
MESSAGE( "StdMeshers_Propagation_i::GetImpl" );
|
||||||
return ( ::StdMeshers_Propagation* )myBaseImpl;
|
return ( ::StdMeshers_Propagation* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_Propagation_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_1D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -52,6 +52,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_Propagation* GetImpl();
|
::StdMeshers_Propagation* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -128,3 +128,18 @@ CORBA::Double StdMeshers_StartEndLength_i::GetLength( CORBA::Boolean theIsStart)
|
|||||||
MESSAGE( "StdMeshers_StartEndLength_i::GetImpl" );
|
MESSAGE( "StdMeshers_StartEndLength_i::GetImpl" );
|
||||||
return ( ::StdMeshers_StartEndLength* )myBaseImpl;
|
return ( ::StdMeshers_StartEndLength* )myBaseImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \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 StdMeshers_StartEndLength_i::IsDimSupported( SMESH::Dimension type )
|
||||||
|
{
|
||||||
|
return type == SMESH::DIM_1D;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -61,6 +61,9 @@ public:
|
|||||||
|
|
||||||
// Get implementation
|
// Get implementation
|
||||||
::StdMeshers_StartEndLength* GetImpl();
|
::StdMeshers_StartEndLength* GetImpl();
|
||||||
|
|
||||||
|
// Verify whether hypothesis supports given entity type
|
||||||
|
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user