A3DCrvEvaluate

A3DStatus A3DCrvEvaluate(const A3DCrvBase *pCrv, A3DDouble dParameter, A3DUns32 uiNbDerivatives, A3DVector3dData *pPointAndDerivatives)
A3DStatus A3DCrvEvaluate(const A3DCrvBase* pCrv, A3DDouble dParameter, A3DUns32 uiNbDerivatives, A3DVector3dData* pPointAndDerivatives)

Function to evaluate a point and the derivatives of a curve at a parameter.

Derivatives are stored in the following order:

\li  With uiNbDerivatives = 0: Point
\li  With uiNbDerivatives = 1: Point, First Derivative
\li  With uiNbDerivatives = 2: Point, First Derivative, Second Derivative

pPointAndDerivatives size must be equal to (uiNbDerivatives+1):

  • size = 1 if uiNbDerivatives=0

  • size = 2 if uiNbDerivatives=1;

  • size = 3 if uiNbDerivatives=2;

    4.0

    The number of derivatives must be less than or equal to 2.

Returns

A3D_SUCCESS on success, or an error code on failure