Salome HOME
FIx for issue #360 : make switching on/off checking of transactions in Session -...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.h
index c55d9ab314d3b5cff5e5ce8a9228de60c652eb7b..8ff96d9815ca5e00c3e93ed1d2dc5e2b201a6100 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_Shape.hxx
 // Created:     23 Apr 2014
 // Author:      Mikhail PONIKAROV
@@ -30,6 +32,15 @@ class GEOMAPI_EXPORT GeomAPI_Shape : public GeomAPI_Interface
   /// Returns whether the shape is an edge
   virtual bool isEdge() const;
 
+  /// Returns whether the shape is a face
+  virtual bool isFace() const;
+
+  /// Computes boundary dimensions of the shape
+  /// Returns False if it is not possible
+  bool computeSize(double& theXmin, double& theYmin, double& theZmin,
+                   double& theXmax, double& theYmax, double& theZmax) const;
+
+  std::string getShapeStream() const;
 };
 
 //! Pointer on list of shapes