// 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
//
#ifndef ModelAPI_ResultConstruction_H_
/// Sets the result
virtual void setShape(std::shared_ptr<GeomAPI_Shape> theShape) = 0;
+ /// Updates the shape taking the current value from the data structure, returns true
+ /// if update has been correctly done
+ virtual bool updateShape() = 0;
+
/// Sets the flag that it must be displayed in history (default is true)
virtual void setIsInHistory(const bool isInHistory) = 0;
/// if the construction result may be used as faces, this method returns not zero number of faces
- virtual int facesNum() = 0;
+ /// \param theUpdateNaming is false of keeping the naming structure untouched (on load)
+ virtual int facesNum(const bool theUpdateNaming = true) = 0;
/// if the construction result may be used as faces, this method returns face by zero based index
virtual std::shared_ptr<GeomAPI_Face> face(const int theIndex) = 0;