]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Shape.cpp
Salome HOME
Merge remote-tracking branch 'remotes/origin/master'
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.cpp
index f7f05846a114a12466e5333e16b7f02e4f839448..10bd21df9d82f6bc9d409b4204c819cbc2664af5 100644 (file)
@@ -9,8 +9,14 @@
 #define MY_PNT static_cast<gp_Pnt*>(myImpl)
 
 GeomAPI_Shape::GeomAPI_Shape()
-  : GeomAPI_Interface(new TopoDS_Shape())
-{}
+    : GeomAPI_Interface(new TopoDS_Shape()) {
+}
+
+bool GeomAPI_Shape::isNull()
+{
+  return MY_SHAPE->IsNull();
+}
+
 
 bool GeomAPI_Shape::isVertex() const
 {