X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMAlgo%2FGEOMAlgo_ListOfPnt.hxx;h=94a8be445b5f450657ff4242dcd99887a66f037f;hb=04f3d723da1ae9133d108921c8f10338a9656d12;hp=d7958521f56cfa58a1ac26aea6ff098250857ce7;hpb=9499b99fe2dcb53e1ea364f97986f8f432b04600;p=modules%2Fgeom.git diff --git a/src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx b/src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx index d7958521f..94a8be445 100644 --- a/src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx +++ b/src/GEOMAlgo/GEOMAlgo_ListOfPnt.hxx @@ -1,18 +1,18 @@ // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// // 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 +// License as published by the Free Software Foundation; either // version 2.1 of the License. -// -// 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 +// +// 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 +// 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 @@ -45,6 +45,7 @@ class GEOMAlgo_ListNodeOfListOfPnt; #include #endif + class GEOMAlgo_ListOfPnt { public: @@ -63,34 +64,71 @@ public: } // Methods PUBLIC // + + Standard_EXPORT GEOMAlgo_ListOfPnt(); + + Standard_EXPORT void Assign(const GEOMAlgo_ListOfPnt& Other) ; void operator=(const GEOMAlgo_ListOfPnt& Other) { Assign(Other); } + + Standard_EXPORT Standard_Integer Extent() const; + + Standard_EXPORT void Clear() ; ~GEOMAlgo_ListOfPnt() { Clear(); } + Standard_Boolean IsEmpty() const; + + Standard_EXPORT void Prepend(const gp_Pnt& I) ; + + Standard_EXPORT void Prepend(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& theIt) ; + + Standard_EXPORT void Prepend(GEOMAlgo_ListOfPnt& Other) ; + + Standard_EXPORT void Append(const gp_Pnt& I) ; + + Standard_EXPORT void Append(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& theIt) ; + + Standard_EXPORT void Append(GEOMAlgo_ListOfPnt& Other) ; + + Standard_EXPORT gp_Pnt& First() const; + + Standard_EXPORT gp_Pnt& Last() const; + + Standard_EXPORT void RemoveFirst() ; + + Standard_EXPORT void Remove(GEOMAlgo_ListIteratorOfListOfPnt& It) ; + + Standard_EXPORT void InsertBefore(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& It) ; + + Standard_EXPORT void InsertBefore(GEOMAlgo_ListOfPnt& Other,GEOMAlgo_ListIteratorOfListOfPnt& It) ; + + Standard_EXPORT void InsertAfter(const gp_Pnt& I,GEOMAlgo_ListIteratorOfListOfPnt& It) ; + + Standard_EXPORT void InsertAfter(GEOMAlgo_ListOfPnt& Other,GEOMAlgo_ListIteratorOfListOfPnt& It) ; @@ -112,6 +150,8 @@ private: // Methods PRIVATE // + + Standard_EXPORT GEOMAlgo_ListOfPnt(const GEOMAlgo_ListOfPnt& Other);