mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024814: Avoid using explicit names of Handle classes
Sources corrected replacing Handle_XXX by Handle(XXX)
This commit is contained in:
@@ -776,7 +776,7 @@ void Bisector_BisecAna::Perform(const Handle(Geom2d_Curve)& afirstcurve ,
|
||||
Handle(Standard_Type) type = afirstcurve->DynamicType();
|
||||
|
||||
if (type == STANDARD_TYPE(Geom2d_TrimmedCurve)) {
|
||||
curve = (*(Handle_Geom2d_TrimmedCurve*)&afirstcurve)->BasisCurve();
|
||||
curve = (*(Handle(Geom2d_TrimmedCurve)*)&afirstcurve)->BasisCurve();
|
||||
}
|
||||
else {
|
||||
curve = afirstcurve;
|
||||
|
@@ -794,7 +794,7 @@ static void Indent(const Standard_Integer Offset) {
|
||||
//function : Init
|
||||
// purpose :
|
||||
//=============================================================================
|
||||
void Bisector_BisecPC::Init (const Handle_Geom2d_Curve& Curve,
|
||||
void Bisector_BisecPC::Init (const Handle(Geom2d_Curve)& Curve,
|
||||
const gp_Pnt2d& Point,
|
||||
const Standard_Real Sign,
|
||||
const TColStd_SequenceOfReal& StartIntervals,
|
||||
|
Reference in New Issue
Block a user