GeomAPI_Interpolate

Hi

I want to create a curve passing throw 3 points and I know the direction of the tangent on those point.

I try GeomAPI_Interpolate. I set the 3 points with their tangent and use the lagrange scaling argument to compute the lenght of those tangents.

Finally , I obtained a Curve with has two bump but I want a curve which is between a half circle, and a parabolla

How must I compute the lenght of my tangengy to obtain the good result ?

Michael Sazonov's picture

Dear Lhomme,

I think in your case you might try to not allow the algorithm to scale your tangents. Take your luck in your hands and call the method Load with the argument Scale=False. Of cause, you should give reasonable values of tangent vectors.