X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDRO_tests%2FTestShape.h;h=470d30494d030a5615ad81b415ceea4e32f2ae72;hb=26197be88e35b978201cdd05c4b34d4acbfad111;hp=17acf618792bc770c6472c741fabe47f340cab32;hpb=9c947f35615e69e9e54a8c4b074dd1f2be13689c;p=modules%2Fhydro.git diff --git a/src/HYDRO_tests/TestShape.h b/src/HYDRO_tests/TestShape.h index 17acf618..470d3049 100644 --- a/src/HYDRO_tests/TestShape.h +++ b/src/HYDRO_tests/TestShape.h @@ -1,3 +1,20 @@ +// Copyright (C) 2014-2015 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 +// #pragma once @@ -8,8 +25,14 @@ class TopoDS_Wire; class TopoDS_Face; class gp_Pnt; -TopoDS_Edge Edge( const QList& theXYList, bool isClosed = false ); -TopoDS_Wire Wire( const QList& theXYList, bool isClosed = false ); +TopoDS_Edge Edge2d( const QList& theXYList, bool isClosed = false ); +TopoDS_Wire Wire2d( const QList& theXYList, bool isClosed = false ); + +TopoDS_Edge Edge3d( const QList& theXYZList, bool isClosed = false ); +TopoDS_Wire Wire3d( const QList& theXYZList, bool isClosed = false ); + + TopoDS_Wire WireCirc( const gp_Pnt& theCenter, double theRadius ); -TopoDS_Face Face( const QList& theXYList ); +TopoDS_Face Face2d( const QList& theXYList ); +TopoDS_Face Face3d( const QList& theXYZList );