Salome HOME
Export XAO with the shape in a seperated BREP file.
[modules/geom.git] / src / XAO / XAO_BrepGeometry.hxx
index 59d19ba5450a94b26e094c9d393acf2d1c3bc710..e5782338495b1da42bc87e177807d1ca8fd4d950 100644 (file)
@@ -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):