X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=idl%2FHOMARD_Boundary.idl;h=eee2149f525ee44e6bff422021614f3f0a694c4f;hb=d99ab7669d0fd72f475b275e1185f63142a8bbbc;hp=628b0b0ffa92c8ba6f2d331a876c9b7d67e62dfb;hpb=bdbb00479184579ff9ec2e33886894326d4d6a0f;p=modules%2Fhomard.git diff --git a/idl/HOMARD_Boundary.idl b/idl/HOMARD_Boundary.idl index 628b0b0f..eee2149f 100644 --- a/idl/HOMARD_Boundary.idl +++ b/idl/HOMARD_Boundary.idl @@ -1,24 +1,61 @@ +// Copyright (C) 2011-2022 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + +// Remarques : +// L'ordre de description des fonctions est le meme dans tous les fichiers +// HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx : +// 1. Les generalites : Name, Delete, DumpPython, Dump, Restore +// 2. Les caracteristiques +// 3. Le lien avec les autres structures +// +// Quand les 2 fonctions Setxxx et Getxxx sont presentes, Setxxx est decrit en premier +// + #ifndef _HOMARD_Boundary_IDL #define _HOMARD_Boundary_IDL +#include "SALOME_Component.idl" #include "SALOME_Exception.idl" +#include "SALOMEDS.idl" + #include "HOMARD_Cas.idl" #include "HOMARD_Zone.idl" module HOMARD { - interface HOMARD_Boundary + interface HOMARD_Boundary : Engines::EngineComponent { +// Generalites + void SetName(in string Name) raises (SALOME::SALOME_Exception); + string GetName() raises (SALOME::SALOME_Exception); - void SetName (in string NomBoundary) raises (SALOME::SALOME_Exception); - string GetName () raises (SALOME::SALOME_Exception); + long Delete() raises (SALOME::SALOME_Exception); - void SetBoundaryType (in long BoundaryType) raises (SALOME::SALOME_Exception); - long GetBoundaryType() raises (SALOME::SALOME_Exception); + string GetDumpPython() raises (SALOME::SALOME_Exception); + +// Caracteristiques + void SetType (in long Type) raises (SALOME::SALOME_Exception); + long GetType() raises (SALOME::SALOME_Exception); - void SetMeshFile(in string MeshFile) raises (SALOME::SALOME_Exception); - string GetMeshFile() raises (SALOME::SALOME_Exception); + void SetDataFile(in string DataFile) raises (SALOME::SALOME_Exception); + string GetDataFile() raises (SALOME::SALOME_Exception); void SetMeshName(in string MeshName) raises (SALOME::SALOME_Exception); string GetMeshName() raises (SALOME::SALOME_Exception); @@ -26,24 +63,36 @@ module HOMARD void SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre, in double Xaxe, in double Yaxe, in double Zaxe, in double rayon) raises (SALOME::SALOME_Exception); - HOMARD::double_array GetCylinder() raises (SALOME::SALOME_Exception); void SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon) raises (SALOME::SALOME_Exception); - HOMARD::double_array GetSphere() raises (SALOME::SALOME_Exception); + + void SetConeR (in double Xcentre1, in double Ycentre1, in double Zcentre1, in double Rayon1, + in double Xcentre2, in double Ycentre2, in double Zcentre2, in double Rayon2) + raises (SALOME::SALOME_Exception); + + void SetConeA(in double Xaxe,in double Yaxe,in double Zaxe,in double Angle, + in double Xcentre,in double Ycentre,in double ZCentre) + raises (SALOME::SALOME_Exception); + + void SetTorus (in double Xcentre, in double Ycentre, in double Zcentre, + in double Xaxe, in double Yaxe, in double Zaxe, in double rayonRev, in double rayonPri) + raises (SALOME::SALOME_Exception); + + + HOMARD::double_array GetCoords() raises (SALOME::SALOME_Exception); void SetLimit (in double Xincr, in double Yincr, in double Zincr) raises (SALOME::SALOME_Exception); HOMARD::double_array GetLimit() raises (SALOME::SALOME_Exception); - void SetCaseCreation(in string NomCas) raises (SALOME::SALOME_Exception); - string GetCaseCreation() raises (SALOME::SALOME_Exception); - void AddGroup(in string LeGroupe) raises (SALOME::SALOME_Exception); - ListGroupType GetGroups() raises (SALOME::SALOME_Exception); void SetGroups(in ListGroupType ListGroup) raises (SALOME::SALOME_Exception); + ListGroupType GetGroups() raises (SALOME::SALOME_Exception); - string GetDumpPython() raises (SALOME::SALOME_Exception); +// Liens avec les autres iterations + void SetCaseCreation(in string NomCas) raises (SALOME::SALOME_Exception); + string GetCaseCreation() raises (SALOME::SALOME_Exception); }; };