Jean-Yves Brud Wed, 12/15/2010 - 13:57 Forums: Other usage issuesIs there a simple way to get the length of a curve (Bezier) ? Thanxs. Jean-Yves Evgeny Lodyzhehsky Tue, 12/21/2010 - 07:11 Dear Jean-Yves Brud. Try to use: Standard_Real Length; GeomAdaptor_Curve GAC; // Handle(Geom_BezierCurve) BC=...;//your curve GAC.Load(C); Length=GCPnts_AbscissaPoint::Length(GAC);//length of the curve Log in to post comments
Tue, 12/21/2010 - 07:11
Dear Jean-Yves Brud.
Try to use:
Standard_Real Length;
GeomAdaptor_Curve GAC;
//
Handle(Geom_BezierCurve) BC=...;//your curve
GAC.Load(C);
Length=GCPnts_AbscissaPoint::Length(GAC);//length of the curve