-// File: GeomAPI_Wire.hxx
-// Created: 24 Jul 2014
-// Author: Artem ZHIDKOV
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-#ifndef GEOMAPI_WIRE_H_
-#define GEOMAPI_WIRE_H_
+// File: GeomAPI_Wire.h
+// Created: 28 April 2016
+// Author: Dmitry Bobylev
-#include <GeomAPI.h>
-#include <GeomAPI_Edge.h>
+#ifndef GeomAPI_Wire_H_
+#define GeomAPI_Wire_H_
-#include <boost/smart_ptr/shared_ptr.hpp>
+#include "GeomAPI_Shape.h"
-#include <list>
-
-/**\class GeomAPI_Wire
- * \ingroup DataModel
- * \brief Interface to the edge object
- */
-
-class GEOMAPI_EXPORT GeomAPI_Wire : public GeomAPI_Shape
+/// \class GeomAPI_Wire
+/// \ingroup DataModel
+/// \brief Interface to the wire object
+class GeomAPI_Wire: public GeomAPI_Shape
{
- public:
- /// Creation of empty (null) shape
- GeomAPI_Wire();
-
- virtual bool isVertex() const
- {
- return false;
- }
-
- /// Returns whether the shape is an edge
- virtual bool isEdge() const
- {
- return false;
- }
-
- void addEdge(boost::shared_ptr<GeomAPI_Shape> theEdge);
- std::list<boost::shared_ptr<GeomAPI_Shape> > getEdges();
-
+public:
+ /// Makes an undefined Wire.
+ GEOMAPI_EXPORT GeomAPI_Wire();
};
#endif