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)

7.0

Return Values

A3D_SUCCESS:

A3D_INITIALIZE_NOT_CALLED:

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_INVALID_ENTITY_NULL:

A3D_INVALID_ENTITY_TYPE:

A3D_ERROR:

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