Version: 9.16.0
GEOMUtils_Trsf2d.hxx
Go to the documentation of this file.
1// Copyright (C) 2015-2026 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_Trsf2d_HXX_
21#define _GEOMUtils_Trsf2d_HXX_
22
23
24#include <Geom2dHatch_Hatcher.hxx>
25#include <GeomAbs_IsoType.hxx>
26#include <TColStd_HArray1OfInteger.hxx>
27#include <TColStd_HArray1OfReal.hxx>
28#include <TopoDS_Face.hxx>
29
30
45namespace GEOMUtils
46{
47 class Trsf2d
48 {
49
50 public:
51
57 Standard_EXPORT Trsf2d(const Standard_Real a11,
58 const Standard_Real a12,
59 const Standard_Real a13,
60 const Standard_Real a21,
61 const Standard_Real a22,
62 const Standard_Real a23);
63
70 Standard_EXPORT void TransformD0(gp_Pnt2d &thePnt)const;
71
79 Standard_EXPORT void TransformD1(gp_Pnt2d &thePnt,
80 gp_Vec2d &theVec1) const;
81
90 Standard_EXPORT void TransformD2(gp_Pnt2d &thePnt,
91 gp_Vec2d &theVec1,
92 gp_Vec2d &theVec2) const;
93
103 Standard_EXPORT void TransformD3(gp_Pnt2d &thePnt,
104 gp_Vec2d &theVec1,
105 gp_Vec2d &theVec2,
106 gp_Vec2d &theVec3) const;
107
108 private:
109
116 void TransformVector(const gp_Pnt2d &thePnt,
117 gp_Vec2d &theVec) const;
118
119 private:
120
121 Standard_Real myA11;
122 Standard_Real myA12;
123 Standard_Real myA13;
124 Standard_Real myA21;
125 Standard_Real myA22;
126 Standard_Real myA23;
127
128 };
129}
130
131#endif
Definition: GEOMUtils_Trsf2d.hxx:48
Standard_Real myA11
Definition: GEOMUtils_Trsf2d.hxx:121
Standard_EXPORT void TransformD3(gp_Pnt2d &thePnt, gp_Vec2d &theVec1, gp_Vec2d &theVec2, gp_Vec2d &theVec3) const
Transform the point, the first, second and third derivative vectors.
Definition: GEOMUtils_Trsf2d.cxx:83
void TransformVector(const gp_Pnt2d &thePnt, gp_Vec2d &theVec) const
Transform the vector.
Definition: GEOMUtils_Trsf2d.cxx:98
Standard_EXPORT void TransformD0(gp_Pnt2d &thePnt) const
Transform the point.
Definition: GEOMUtils_Trsf2d.cxx:47
Standard_Real myA12
Definition: GEOMUtils_Trsf2d.hxx:122
Standard_Real myA13
Definition: GEOMUtils_Trsf2d.hxx:123
Standard_Real myA21
Definition: GEOMUtils_Trsf2d.hxx:124
Standard_EXPORT Trsf2d(const Standard_Real a11, const Standard_Real a12, const Standard_Real a13, const Standard_Real a21, const Standard_Real a22, const Standard_Real a23)
Constructor.
Definition: GEOMUtils_Trsf2d.cxx:28
Standard_EXPORT void TransformD1(gp_Pnt2d &thePnt, gp_Vec2d &theVec1) const
Transform the point and the first derivative vector.
Definition: GEOMUtils_Trsf2d.cxx:59
Standard_EXPORT void TransformD2(gp_Pnt2d &thePnt, gp_Vec2d &theVec1, gp_Vec2d &theVec2) const
Transform the point, the first and second derivative vectors.
Definition: GEOMUtils_Trsf2d.cxx:70
Standard_Real myA23
Definition: GEOMUtils_Trsf2d.hxx:126
Standard_Real myA22
Definition: GEOMUtils_Trsf2d.hxx:125
Definition: GEOMUtils.hxx:56