From 415b4e6f6b05eb84baec93390f8a558b8ea5ba69 Mon Sep 17 00:00:00 2001 From: YOANN AUDOUIN Date: Tue, 2 Jan 2024 09:51:39 +0100 Subject: [PATCH] Adding GetIs2d in python interface --- idl/GMSHPlugin_Algorithm.idl | 1 + src/GMSHPlugin/GMSHPlugin_Hypothesis_i.cxx | 3 +++ src/GMSHPlugin/GMSHPlugin_Hypothesis_i.hxx | 1 + 3 files changed, 5 insertions(+) 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); -- 2.39.2