]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Shape.h
Salome HOME
Merge remote-tracking branch 'remotes/origin/master'
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.h
index 7394bee05c088fc8ef10b60185e4f85b9ac5b5ea..b557e845ed47cb50052b6d8d43923969ef0a90cc 100644 (file)
@@ -11,6 +11,9 @@
  * \ingroup DataModel
  * \brief Interface to the topological shape object
  */
+class TopoDS_Shape;
+
+#define MY_SHAPE static_cast<TopoDS_Shape*>(myImpl)
 
 class GEOMAPI_EXPORT GeomAPI_Shape: public GeomAPI_Interface
 {
@@ -18,6 +21,8 @@ public:
   /// Creation of empty (null) shape
   GeomAPI_Shape();
 
+  bool isNull();
+
   /// Returns whether the shape is a vertex
   virtual bool isVertex() const;