X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_Geometric1D_i.hxx;h=225c353456b0bba51d0b96d0142c9005fa2feca7;hp=f3a8964be4c912b28d8582b8da1913f11bbc65fe;hb=cb55604f37e3d2583272fd436bb6557b041948b5;hpb=8a9d91b414c3f26586dea735c22c7700898a0a1e diff --git a/src/StdMeshers_I/StdMeshers_Geometric1D_i.hxx b/src/StdMeshers_I/StdMeshers_Geometric1D_i.hxx index f3a8964be..225c35345 100644 --- a/src/StdMeshers_I/StdMeshers_Geometric1D_i.hxx +++ b/src/StdMeshers_I/StdMeshers_Geometric1D_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 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 @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses +// SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes // File : StdMeshers_Geometric1D_i.hxx // Module : SMESH // @@ -49,8 +49,8 @@ class STDMESHERS_I_EXPORT StdMeshers_Geometric1D_i: StdMeshers_Geometric1D_i( PortableServer::POA_ptr thePOA, ::SMESH_Gen* theGenImpl ); - void SetStartLength(CORBA::Double length) throw(SALOME::SALOME_Exception); - void SetCommonRatio(CORBA::Double factor) throw(SALOME::SALOME_Exception); + void SetStartLength(CORBA::Double length); + void SetCommonRatio(CORBA::Double factor); CORBA::Double GetStartLength(); CORBA::Double GetCommonRatio(); @@ -59,6 +59,18 @@ class STDMESHERS_I_EXPORT StdMeshers_Geometric1D_i: // Get implementation ::StdMeshers_Geometric1D* GetImpl(); + + + + // Methods for copying mesh definition to other geometry + + // Return geometry this hypothesis depends on. Return false if there is no geometry parameter + virtual bool getObjectsDependOn( std::vector< std::string > & entryArray, + std::vector< int > & subIDArray ) const; + + // Set new geometry instead of that returned by getObjectsDependOn() + virtual bool setObjectsDependOn( std::vector< std::string > & entryArray, + std::vector< int > & subIDArray ); }; #endif