X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_MaxLength_i.hxx;h=3499fa03a5aa1ed1d904ce5a0b880725e6e7507b;hb=3b570ddfbea2964cea7fe285a5722c45bf0675ee;hp=b4b63323152b2c9525ded9f5ecda4cf7efb69d2d;hpb=560f8b2d0c2a7fdb4047f981cfac56ed3629bc1a;p=modules%2Fsmesh.git diff --git a/src/StdMeshers_I/StdMeshers_MaxLength_i.hxx b/src/StdMeshers_I/StdMeshers_MaxLength_i.hxx index b4b633231..3499fa03a 100644 --- a/src/StdMeshers_I/StdMeshers_MaxLength_i.hxx +++ b/src/StdMeshers_I/StdMeshers_MaxLength_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -49,13 +49,11 @@ public: virtual ~StdMeshers_MaxLength_i(); // Set length - void SetLength( CORBA::Double theLength ) - throw ( SALOME::SALOME_Exception ); + void SetLength( CORBA::Double theLength ); // Set precision // Sets preestimation flag - void SetUsePreestimatedLength( CORBA::Boolean toUse) - throw ( SALOME::SALOME_Exception ); + void SetUsePreestimatedLength( CORBA::Boolean toUse); // Get length CORBA::Double GetLength(); @@ -77,6 +75,17 @@ public: // Verify whether hypothesis supports given entity type CORBA::Boolean IsDimSupported( SMESH::Dimension type ); + + + // 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 { return 0; } + + // Set new geometry instead of that returned by getObjectsDependOn() + virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/, + std::vector< int > & /*subIDArray*/ ) { return true; } protected: virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const; };