X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Wire.h;h=837039d4c15cc1473ceae00fb560bf35e80ac324;hb=4df4bd61da1ea5d357671c819a8ced6ec9ba77ac;hp=de849ef9391376b870c22321976f9c6d7e783d1c;hpb=87c2d038fe6feaae3951850cbfb43313015aa1f7;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Wire.h b/src/GeomAPI/GeomAPI_Wire.h index de849ef93..837039d4c 100644 --- a/src/GeomAPI/GeomAPI_Wire.h +++ b/src/GeomAPI/GeomAPI_Wire.h @@ -1,42 +1,36 @@ -// File: GeomAPI_Wire.hxx -// Created: 24 Jul 2014 -// Author: Artem ZHIDKOV - -#ifndef GEOMAPI_WIRE_H_ -#define GEOMAPI_WIRE_H_ - -#include -#include - -#include - -#include - -/**\class GeomAPI_Wire - * \ingroup DataModel - * \brief Interface to the edge object - */ - -class GEOMAPI_EXPORT GeomAPI_Wire : public GeomAPI_Shape +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// + +#ifndef GeomAPI_Wire_H_ +#define GeomAPI_Wire_H_ + +#include "GeomAPI_Shape.h" + +/// \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