1 // File: GeomAPI_Wire.hxx
2 // Created: 24 Jul 2014
3 // Author: Artem ZHIDKOV
5 #ifndef GEOMAPI_WIRE_H_
6 #define GEOMAPI_WIRE_H_
9 #include <GeomAPI_Edge.h>
11 #include <boost/smart_ptr/shared_ptr.hpp>
15 /**\class GeomAPI_Wire
17 * \brief Interface to the edge object
20 class GEOMAPI_EXPORT GeomAPI_Wire : public GeomAPI_Shape
23 /// Creation of empty (null) shape
26 virtual bool isVertex() const
31 /// Returns whether the shape is an edge
32 virtual bool isEdge() const
37 void addEdge(boost::shared_ptr<GeomAPI_Shape> theEdge);
38 std::list<boost::shared_ptr<GeomAPI_Shape> > getEdges();