convert Geom_Curve to Geom_Curve2d

hello;

i'd like to convert a Geom_Curve to Geom_Curve2d
how can i'do this??

think you in advanced............

Sharjith Naramparambath's picture

There is a static function that helps convert from 3d to 2d and vice-versa. You will have to search the header files in the Geom Package. I remember something like Geom_Geometry::3dTo2d

Regard
N. Sharjith

Sharjith Naramparambath's picture

Sorry, it is GeomAPI::To2d() and GeomAPI::To3d()

Regards
N. Sharjith