//
// This file is part of Open CASCADE Technology software library.
//
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
typedef Geom2d_AxisPlacement AxisPlacement;
-typedef Handle(Geom2d_AxisPlacement) Handle(AxisPlacement);
typedef gp_Dir2d Dir2d;
typedef gp_Pnt2d Pnt2d;
typedef gp_Trsf2d Trsf2d;
Handle(Geom2d_Geometry) Geom2d_AxisPlacement::Copy() const {
- Handle(AxisPlacement) A;
+ Handle(Geom2d_AxisPlacement) A;
A = new AxisPlacement (axis);
return A;
}
void Geom2d_AxisPlacement::Reverse() { axis.Reverse(); }
-Handle(AxisPlacement) Geom2d_AxisPlacement::Reversed() const {
+Handle(Geom2d_AxisPlacement) Geom2d_AxisPlacement::Reversed() const {
gp_Ax2d A = axis;
A.Reverse();
- Handle(AxisPlacement) Temp = new AxisPlacement (A);
+ Handle(Geom2d_AxisPlacement) Temp = new AxisPlacement (A);
return Temp;
}
axis.SetDirection(V);
}
-Standard_Real Geom2d_AxisPlacement::Angle (const Handle(AxisPlacement)& Other) const {
+Standard_Real Geom2d_AxisPlacement::Angle (const Handle(Geom2d_AxisPlacement)& Other) const {
return axis.Angle (Other->Ax2d());
}