X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_Deflection1D_i.cxx;h=0f3f4a942e7a122538cd0b9fd41a2eda66f03f02;hp=78ef384cc2b8e948867619a7ce2a83799c792e67;hb=9d28d73b09e96b23cf9937afa17474f98508df18;hpb=c38c10811a065cf5b13e8807ed71864d92ca7d80 diff --git a/src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx b/src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx index 78ef384cc..0f3f4a942 100644 --- a/src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx +++ b/src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx @@ -127,3 +127,18 @@ CORBA::Double StdMeshers_Deflection1D_i::GetDeflection() MESSAGE( "StdMeshers_Deflection1D_i::GetImpl" ); 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; +} +