1 // Copyright (C) 2015-2016 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef _GEOMUtils_HTrsfCurve2d_HXX_
21 #define _GEOMUtils_HTrsfCurve2d_HXX_
24 #include <GEOMUtils_TrsfCurve2d.hxx>
26 #include <Adaptor2d_HCurve2d.hxx>
34 DEFINE_STANDARD_HANDLE(HTrsfCurve2d, Adaptor2d_HCurve2d);
37 * This class represents an adaptor curve that represents an original curve
38 * transformed by an anisotropic transformation. This is a class manipulated
41 class HTrsfCurve2d : public Adaptor2d_HCurve2d
47 * Constructor. Initializes the object with the transformation parameters.
48 * Input parameters are not checked for validity. It is under responsibility
51 Standard_EXPORT HTrsfCurve2d(const Handle(Geom2d_Curve) &theCurve,
52 const Trsf2d &theTrsf);
55 * Constructor. Initializes the object with the curve, first and last
56 * parameters and transformation. Input parameters are not checked
57 * for validity. It is under responsibility of the caller.
59 Standard_EXPORT HTrsfCurve2d(const Handle(Geom2d_Curve) &theCurve,
60 const Standard_Real theUFirst,
61 const Standard_Real theULast,
62 const Trsf2d &theTrsf);
65 * Redefined method from the base class.
67 const Adaptor2d_Curve2d &Curve2d() const
76 OCCT_DEFINE_STANDARD_RTTIEXT(HTrsfCurve2d,Adaptor2d_HCurve2d)