1 // File: GeomAPI_Shape.hxx
2 // Created: 23 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef GeomAPI_Shape_H_
6 #define GeomAPI_Shape_H_
8 #include <GeomAPI_Interface.h>
9 #include <boost/shared_ptr.hpp>
11 /**\class GeomAPI_Shape
13 * \brief Interface to the topological shape object
15 class GEOMAPI_EXPORT GeomAPI_Shape : public GeomAPI_Interface
18 /// Creation of empty (null) shape
23 /// Returns whether the shapes are equal
24 virtual bool isEqual(const boost::shared_ptr<GeomAPI_Shape> theShape) const;
26 /// Returns whether the shape is a vertex
27 virtual bool isVertex() const;
29 /// Returns whether the shape is an edge
30 virtual bool isEdge() const;
34 //! Pointer on attribute object
35 typedef boost::shared_ptr<GeomAPI_Shape> GeomShapePtr;