Salome HOME
Added a selection attribute and naming basic mechanisms
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.h
index c2e3507b4cf94dffd0cef99587443da47b136ec4..3aa0987f7e2fbaca01552535628838c75ace50f7 100644 (file)
@@ -6,6 +6,7 @@
 #define GeomAPI_Shape_H_
 
 #include <GeomAPI_Interface.h>
+#include <boost/shared_ptr.hpp>
 
 /**\class GeomAPI_Shape
  * \ingroup DataModel
@@ -17,7 +18,10 @@ class GEOMAPI_EXPORT GeomAPI_Shape : public GeomAPI_Interface
   /// Creation of empty (null) shape
   GeomAPI_Shape();
 
-  bool isNull();
+  bool isNull() const;
+
+  /// Returns whether the shapes are equal
+  virtual bool isEqual(const boost::shared_ptr<GeomAPI_Shape> theShape) const;
 
   /// Returns whether the shape is a vertex
   virtual bool isVertex() const;
@@ -28,4 +32,3 @@ class GEOMAPI_EXPORT GeomAPI_Shape : public GeomAPI_Interface
 };
 
 #endif
-