X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Wire.h;h=2c11608571c4fe7dc4fcaced712049373dc69284;hb=e80ef2f263e1885c2a6e03be6ce3d7cdf20c1486;hp=de849ef9391376b870c22321976f9c6d7e783d1c;hpb=87c2d038fe6feaae3951850cbfb43313015aa1f7;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Wire.h b/src/GeomAPI/GeomAPI_Wire.h index de849ef93..2c1160857 100644 --- a/src/GeomAPI/GeomAPI_Wire.h +++ b/src/GeomAPI/GeomAPI_Wire.h @@ -1,42 +1,22 @@ -// 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 -#include +#ifndef GeomAPI_Wire_H_ +#define GeomAPI_Wire_H_ -#include +#include "GeomAPI_Shape.h" -#include - -/**\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 theEdge); - std::list > getEdges(); - +public: + /// Makes an undefined Wire. + GEOMAPI_EXPORT GeomAPI_Wire(); }; #endif