From: YOANN AUDOUIN Date: Tue, 2 Jan 2024 08:51:39 +0000 (+0100) Subject: Adding GetIs2d in python interface X-Git-Tag: V9_13_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=415b4e6f6b05eb84baec93390f8a558b8ea5ba69;p=plugins%2Fgmshplugin.git Adding GetIs2d in python interface --- diff --git a/idl/GMSHPlugin_Algorithm.idl b/idl/GMSHPlugin_Algorithm.idl index be7e14e..db5f50a 100644 --- a/idl/GMSHPlugin_Algorithm.idl +++ b/idl/GMSHPlugin_Algorithm.idl @@ -111,6 +111,7 @@ module GMSHPlugin void SetVerbosityLevel(in long value); long GetVerbosityLevel(); + boolean GetIs2d(); void SetCompoundOnShape(in GEOM::GEOM_Object GeomObj); void SetCompoundOnEntry(in string entry); diff --git a/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.cxx b/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.cxx index c311fe7..bf6eef9 100644 --- a/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.cxx +++ b/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.cxx @@ -269,6 +269,9 @@ void GMSHPlugin_Hypothesis_i::SetVerbosityLevel (CORBA::Long theValue) CORBA::Long GMSHPlugin_Hypothesis_i::GetVerbosityLevel() { return this->GetImpl()->GetVerbosityLevel(); +CORBA::Boolean GMSHPlugin_Hypothesis_i::GetIs2d() +{ + return this->GetImpl()->GetIs2d(); } void GMSHPlugin_Hypothesis_i::SetCompoundOnShape(GEOM::GEOM_Object_ptr GeomObj) diff --git a/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.hxx b/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.hxx index 783626f..cd7fcde 100644 --- a/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.hxx +++ b/src/GMSHPlugin/GMSHPlugin_Hypothesis_i.hxx @@ -81,6 +81,7 @@ class GMSHPLUGIN_EXPORT GMSHPlugin_Hypothesis_i: void SetIs2d(CORBA::Boolean theIs2d); void SetVerbosityLevel(CORBA::Long theVerbLvl); CORBA::Long GetVerbosityLevel(); + CORBA::Boolean GetIs2d(); void SetCompoundOnShape(GEOM::GEOM_Object_ptr GeomObj); void SetCompoundOnEntry(const char* entry);