how to compute U value based on 3d p

Hi,

I encountered a simple problem: how to compute u value of a bspline given the value of its 3d point? i.e. something similar to

static Standard_Real Parameter
(const gp_Circ& C,
const gp_Pnt& P) for bspline. Any suggestions will be appreciated.

Jim

angel's picture

Hi Jim,
Maybe you can use GeomAPI_ProjectPointOnCurve::LowerDistanceParameter to find out the u value.

Sincerely,
Angel

altezza's picture

Hi Angel,

Thanks a lot for your reply. I will try it.

Have a very nice day.

Jim