Salome HOME
Validators improvements (arguments for feature validator)
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.h
1 // File:        GeomAPI_Shape.hxx
2 // Created:     23 Apr 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef GeomAPI_Shape_H_
6 #define GeomAPI_Shape_H_
7
8 #include <GeomAPI_Interface.h>
9
10 /**\class GeomAPI_Shape
11  * \ingroup DataModel
12  * \brief Interface to the topological shape object
13  */
14 class GEOMAPI_EXPORT GeomAPI_Shape : public GeomAPI_Interface
15 {
16  public:
17   /// Creation of empty (null) shape
18   GeomAPI_Shape();
19
20   bool isNull();
21
22   /// Returns whether the shape is a vertex
23   virtual bool isVertex() const;
24
25   /// Returns whether the shape is an edge
26   virtual bool isEdge() const;
27
28 };
29
30 #endif
31