A3DSurfEvaluate

A3DStatus A3DSurfEvaluate(const A3DSurfBase *pSurf, const A3DVector2dData *pUVParameter, A3DUns32 uiNbDerivatives, A3DVector3dData *pPointAndDerivatives)
A3DStatus A3DSurfEvaluate(const A3DSurfBase* pSurf, const A3DVector2dData* pUVParameter, A3DUns32 uiNbDerivatives, A3DVector3dData* pPointAndDerivatives)

Evaluate a point and its derivative on a surface.

This function evaluates the point and its derivatives (1st and 2nd) on the surface pSurf given the pUVParameter coordinates.

Parameters

pSurf: The surface on which the point will be evaluated.

pUVParameter: The coordinates of the point to evaluate, expressed in UV parameeters on pSurf.

uiNbDerivatives: The number of derivatives to evaluate. This value cannot exceed 2.

pPointAndDerivatives: The resulting evaluation, stored in this pointer.

Returns

A3D_SUCCESS on success, or an error code on failure