1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024814: Avoid using explicit names of Handle classes

Sources corrected replacing Handle_XXX by Handle(XXX)
This commit is contained in:
abv
2014-04-09 18:48:28 +04:00
parent 6fc9d72d9d
commit 857ffd5e57
211 changed files with 697 additions and 697 deletions

View File

@@ -18,31 +18,31 @@
#include <Geom2d_Curve.hxx>
#include <GeomAbs_Shape.hxx>
void Geom2dLProp_Curve2dTool::Value(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::Value(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P)
{
P = C->Value(U);
}
void Geom2dLProp_Curve2dTool::D1(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::D1(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1)
{
C->D1(U, P, V1);
}
void Geom2dLProp_Curve2dTool::D2(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::D2(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2)
{
C->D2(U, P, V1, V2);
}
void Geom2dLProp_Curve2dTool::D3(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::D3(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3)
{
C->D3(U, P, V1, V2, V3);
}
Standard_Integer Geom2dLProp_Curve2dTool::Continuity(const Handle_Geom2d_Curve& C)
Standard_Integer Geom2dLProp_Curve2dTool::Continuity(const Handle(Geom2d_Curve)& C)
{
GeomAbs_Shape s = C->Continuity();
switch (s) {
@@ -64,12 +64,12 @@ Standard_Integer Geom2dLProp_Curve2dTool::Continuity(const Handle_Geom2d_Curve&
return 0;
}
Standard_Real Geom2dLProp_Curve2dTool::FirstParameter(const Handle_Geom2d_Curve& C)
Standard_Real Geom2dLProp_Curve2dTool::FirstParameter(const Handle(Geom2d_Curve)& C)
{
return C->FirstParameter();
}
Standard_Real Geom2dLProp_Curve2dTool::LastParameter(const Handle_Geom2d_Curve& C)
Standard_Real Geom2dLProp_Curve2dTool::LastParameter(const Handle(Geom2d_Curve)& C)
{
return C->LastParameter();
}