]> SALOME platform Git repositories - modules/shaper.git/blob - src/GeomAPI/GeomAPI_Shape.cpp
Salome HOME
Added a way to extract and check ResultConstruction from a ModelAPI_Feature in python...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.cpp
1 // File:        GeomAPI_Shape.cpp
2 // Created:     23 Apr 2014
3 // Author:      Mikhail PONIKAROV
4
5 #include<GeomAPI_Shape.h>
6
7 #include<TopoDS_Shape.hxx>
8
9 #define MY_PNT static_cast<gp_Pnt*>(myImpl)
10
11 GeomAPI_Shape::GeomAPI_Shape()
12     : GeomAPI_Interface(new TopoDS_Shape()) {
13 }
14
15 bool GeomAPI_Shape::isNull()
16 {
17   return MY_SHAPE->IsNull();
18 }