X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FSMESH_Gen.idl;h=ffeb15ee3d0c3dfde9c536a99d2780636a9ed710;hb=13469a2390c6d6061a023967950aa3b3a1196bb2;hp=4dbeb2ef0bc5d026aae1e7865c0f54c3e719127e;hpb=5dcb2f2b467e63a0e5d37e234b2ba8f8e624f987;p=modules%2Fsmesh.git diff --git a/idl/SMESH_Gen.idl b/idl/SMESH_Gen.idl index 4dbeb2ef0..ffeb15ee3 100644 --- a/idl/SMESH_Gen.idl +++ b/idl/SMESH_Gen.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -43,6 +43,8 @@ module SMESH interface FilterManager; interface SMESH_Pattern; interface Measurements; + interface MG_ADAPT; + interface MG_ADAPT_OBJECT; /*! * Tags definition @@ -121,7 +123,7 @@ module SMESH */ struct HypInitParams { - short way; // 0 - by mesh, 1 - by geometry size + prefered parameters, 2 - by averageLength + short way; // 0 - by mesh, 1 - by geometry size + preferred parameters, 2 - by averageLength double averageLength; boolean quadDominated; }; @@ -173,6 +175,15 @@ module SMESH in string theLibName ) raises ( SALOME::SALOME_Exception ); + /*! + * Create a hypothesis and initialize it by average length + */ + SMESH_Hypothesis CreateHypothesisByAverageLength( in string theHypName, + in string theLibName, + in double theAverageLength, + in boolean theQuadDominated) + raises ( SALOME::SALOME_Exception ); + /*! * Return a hypothesis holding parameter values corresponding either to the mesh * existing on the given geometry or to size of the geometry. @@ -575,7 +586,9 @@ module SMESH in GEOM::GEOM_Object theGeom, in double theTolerance ); - + MG_ADAPT CreateMG_ADAPT(); + MG_ADAPT_OBJECT Adaptation(in string adaptType); + MG_ADAPT CreateAdaptationHypothesis(); }; };