1 // Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 #ifndef _GEOMUtils_HTrsfCurve2d_HXX_
24 #define _GEOMUtils_HTrsfCurve2d_HXX_
27 #include <GEOMUtils_TrsfCurve2d.hxx>
29 #include <Adaptor2d_HCurve2d.hxx>
37 DEFINE_STANDARD_HANDLE(HTrsfCurve2d, Adaptor2d_HCurve2d);
40 * This class represents an adaptor curve that represents an original curve
41 * transformed by an anisotropic transformation. This is a class manipulated
44 class HTrsfCurve2d : public Adaptor2d_HCurve2d
50 * Constructor. Initializes the object with the transformation parameters.
51 * Input parameters are not checked for validity. It is under responsibility
54 Standard_EXPORT HTrsfCurve2d(const Handle(Geom2d_Curve) &theCurve,
55 const Trsf2d &theTrsf);
58 * Constructor. Initializes the object with the curve, first and last
59 * parameters and transformation. Input parameters are not checked
60 * for validity. It is under responsibility of the caller.
62 Standard_EXPORT HTrsfCurve2d(const Handle(Geom2d_Curve) &theCurve,
63 const Standard_Real theUFirst,
64 const Standard_Real theULast,
65 const Trsf2d &theTrsf);
68 * Redefined method from the base class.
70 const Adaptor2d_Curve2d &Curve2d() const
79 DEFINE_STANDARD_RTTI(HTrsfCurve2d);