n-asselin Mon, 05/27/2002 - 16:46 Forums: Other usage issuesHello, Can you explain me how to build a BSplineCurve with tangency constraints on the first and last points ? Thank you very much, Norbert. Stephane Routelous Mon, 05/27/2002 - 17:45 Hi, GeomAPI_Interpolate algo(pnts,isPeriodic,Tol); gp_Vec initialTangent = ... gp_Vec finalTangent = ... algo.Load(initialTangent,finalTangent); algo.Perform(); if ( algo.IsDone() ) { Handle_Geom_BSplineCurve BS = algo.Curve(); } I didn't test it. If it doesn't work ( but it should ) , report a bug. HTH, Stephane Stephanehttp://www.exotk.org Log in to post comments n-asselin Mon, 05/27/2002 - 23:40 Thank you very much Stephane, I try this but for the moment it didn't works ! There seems to have a problem with the "algo.Load(initialTangent,finalTangent);" lign... I'll read the doc until I find the solution ! I look at your web site ! very impressive! If you have some times, just have a look at mine, you'll see my openCascade project. Norbert http://norbert.asselin.free.fr Log in to post comments
Mon, 05/27/2002 - 17:45
Hi,
GeomAPI_Interpolate algo(pnts,isPeriodic,Tol);
gp_Vec initialTangent = ...
gp_Vec finalTangent = ...
algo.Load(initialTangent,finalTangent);
algo.Perform();
if ( algo.IsDone() )
{
Handle_Geom_BSplineCurve BS = algo.Curve();
}
I didn't test it.
If it doesn't work ( but it should ) , report a bug.
HTH,
Stephane
Stephane
http://www.exotk.org
Mon, 05/27/2002 - 23:40
Thank you very much Stephane,
I try this but for the moment it didn't works !
There seems to have a problem with the "algo.Load(initialTangent,finalTangent);" lign...
I'll read the doc until I find the solution !
I look at your web site ! very impressive!
If you have some times, just have a look at mine, you'll see my openCascade project.
Norbert
http://norbert.asselin.free.fr