Convert from Geom2d_TrimmedCurve to Handle(Geom2d_TrimmedCurve)

Hi all,
I have a Geom2d_TrimmedCurve which I want to convert to a Handle. How could I do this?

Cauchy Ding's picture

You can copy it by Handle_Geom2d_TrimmedCurve::DownCast(curve.Copy());

gishara's picture

Thanks a lot.