Anonymous (not verified) Mon, 09/23/2002 - 09:37 Forums: Other usage issuesHy Guy ! I've got a basic question : How Can I retreive the length of a BSpline Curve (3D) ? Thank's a lot, Norbert. ekiroglu Mon, 09/23/2002 - 09:53 Hello Norbert, If Edge is a curve, you can get the length of it by GProp_GProps System; BRepGProp::LinearProperties( Edge, System ); Standard_Real Dist = System.Mass( ); Best Regards, Erki Log in to post comments Prasad G (not verified) Mon, 09/23/2002 - 10:00 Hi U can try this also Handle(Geom_Curve) GC; Standard_Real Tol = Precision::Confusion(), L; GeomAdaptor_Curve AC(GC); L = GCPnts_AbscissaPoint::Length(AC, Tol); Bye - Prasad Log in to post comments
Mon, 09/23/2002 - 09:53
Hello Norbert,
If Edge is a curve, you can get the length of it by
GProp_GProps System;
BRepGProp::LinearProperties( Edge, System );
Standard_Real Dist = System.Mass( );
Best Regards,
Erki
Mon, 09/23/2002 - 10:00
Hi
U can try this also
Handle(Geom_Curve) GC;
Standard_Real Tol = Precision::Confusion(), L;
GeomAdaptor_Curve AC(GC);
L = GCPnts_AbscissaPoint::Length(AC, Tol);
Bye
- Prasad