X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDRO_tests%2FTestShape.h;h=470d30494d030a5615ad81b415ceea4e32f2ae72;hb=26197be88e35b978201cdd05c4b34d4acbfad111;hp=d5bb22201233509161a0b18c409098df2b5ddd95;hpb=07ccf1206abd36c104230ae2051110e8e2bf27c0;p=modules%2Fhydro.git diff --git a/src/HYDRO_tests/TestShape.h b/src/HYDRO_tests/TestShape.h index d5bb2220..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 @@ -6,8 +23,16 @@ class TopoDS_Edge; 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_Face Face( const QList& theXYList ); +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 Face2d( const QList& theXYList ); +TopoDS_Face Face3d( const QList& theXYZList );