Version: 9.12.0
GEOMUtils_HTrsfCurve2d.hxx
Go to the documentation of this file.
1 // Copyright (C) 2015-2023 CEA, EDF, OPEN CASCADE
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 
20 #ifndef _GEOMUtils_HTrsfCurve2d_HXX_
21 #define _GEOMUtils_HTrsfCurve2d_HXX_
22 
23 
24 #include <Basics_OCCTVersion.hxx>
25 
26 #if OCC_VERSION_LARGE < 0x07070000
27 
29 
30 #include <Adaptor2d_HCurve2d.hxx>
31 
32 
33 namespace GEOMUtils
34 {
35 
36  class HTrsfCurve2d;
37 
38  DEFINE_STANDARD_HANDLE(HTrsfCurve2d, Adaptor2d_HCurve2d)
39 
40 
45  class HTrsfCurve2d : public Adaptor2d_HCurve2d
46  {
47 
48  public:
49 
55  Standard_EXPORT HTrsfCurve2d(const Handle(Geom2d_Curve) &theCurve,
56  const Trsf2d &theTrsf);
57 
63  Standard_EXPORT HTrsfCurve2d(const Handle(Geom2d_Curve) &theCurve,
64  const Standard_Real theUFirst,
65  const Standard_Real theULast,
66  const Trsf2d &theTrsf);
67 
71  const Adaptor2d_Curve2d &Curve2d() const
72  { return myCurve; }
73 
74  private:
75 
76  TrsfCurve2d myCurve;
77 
78  public:
79 
80  DEFINE_STANDARD_RTTIEXT(HTrsfCurve2d,Adaptor2d_HCurve2d)
81  };
82 }
83 
84 #endif
85 
86 #endif
Handle(TColStd_HSequenceOfTransient) AdvancedEngine_IOperations
Create a T-shape object with specified caracteristics for the main and the incident pipes (radius,...
Definition: AdvancedEngine_IOperations.cxx:1907
DEFINE_STANDARD_HANDLE(GEOM_Field, GEOM_BaseObject) DEFINE_STANDARD_HANDLE(GEOM_FieldStep
Definition: GEOMUtils.hxx:56