A3DCurveLength

A3DStatus A3DCurveLength(const A3DCrvBase *pCrv, const A3DIntervalData *pOptInterval, A3DDouble *pdLength)
A3DStatus A3DCurveLength(const A3DCrvBase* pCrv, const A3DIntervalData* pOptInterval, A3DDouble* pdLength)

Function to compute the length of a curve (optionally restricted to an interval)

Parameters

pCrv: The curve: A3DCrvBase.

pOptInterval: The interval of restriction of the curve (if NULL, the natural interval of the curve will be used).

pdLength: The length of the curve.

Returns

A3D_SUCCESS on success, or an error code on failure