X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXAO%2FXAO_BrepGeometry.hxx;h=a70dd3ac1074dd3ca2d9cd53cea61b4f82106555;hb=0dbe381518ba8993c2c4fa0fcb3ddd8fe5b8479b;hp=59d19ba5450a94b26e094c9d393acf2d1c3bc710;hpb=6748dbfda454a839fe666d68d986cc5bd444425c;p=modules%2Fshaper.git diff --git a/src/XAO/XAO_BrepGeometry.hxx b/src/XAO/XAO_BrepGeometry.hxx index 59d19ba54..a70dd3ac1 100644 --- a/src/XAO/XAO_BrepGeometry.hxx +++ b/src/XAO/XAO_BrepGeometry.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2013-2019 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 @@ -75,6 +75,18 @@ namespace XAO */ virtual void setShapeString(const std::string& shape); + /** + * Writes shape to a file + * @param fileName the path to the file + */ + virtual void writeShapeFile(const std::string& fileName) throw (XAO_Exception); + + /** + * Reads shape from a file + * @param fileName the path to the file + */ + virtual void readShapeFile(const std::string& fileName) throw (XAO_Exception); + #ifdef SWIG %pythoncode %{ def setShape(self, shape):