Point on Bspline

Dear all,
i am a beginner on occ, how can I find a x,y,z coordinate of a bspline curve at a specific u parameter?

jelle's picture

A Geom_Curve instance or subclass has a .Value methode. Supply it with the parameter and that'll return a point.

Rostamani's picture

Thankyou Jelle, but my curve is bspline how can I change it to Geom_curve?

akbari1358_31365's picture

Hi, Rostamani
Use D0(u,P) function of your bspline, it returns P in parameter u.