Salome HOME
Merge branch 'V9_9_BR'
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_QuadrangleParams_i.hxx
index 227dd86af497611380e676cfdaad148e32878931..b35d6d8fae27f204efe1aef187d17e26efd46327 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -65,7 +65,7 @@ public:
 
   // Set positions of enforced nodes
   void SetEnforcedNodes(const GEOM::ListOfGO&     vertices,
-                        const SMESH::nodes_array& points) throw ( SALOME::SALOME_Exception );
+                        const SMESH::nodes_array& points);
   
   // Returns positions of enforced nodes
   void GetEnforcedNodes(GEOM::ListOfGO_out vertices, SMESH::nodes_array_out points);
@@ -73,6 +73,11 @@ public:
   // Returns entries of shapes defining enforced nodes
   SMESH::string_array* GetEnfVertices();
 
+  // Set corner vertices
+  void SetCorners( const SMESH::long_array& vertexIDs );
+
+  // Return IDs of corner vertices
+  SMESH::long_array* GetCorners();
 
   // Get implementation
   ::StdMeshers_QuadrangleParams* GetImpl();
@@ -84,6 +89,16 @@ public:
   virtual char* SaveTo();
   virtual void  LoadFrom( const char* theStream );
 
+
+  // 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 );
  protected:
 
   std::vector<std::string> myShapeEntries;