API Documentation > Creating import and custom geometry > Object ProForeign > Callback ProForeignCurveEvalFunction
Callback ProForeignCurveEvalFunction
Description
Defines the format for a user-supplied function that serves as a curve evaluator.
Synopsis
(*ProForeignCurveEvalFunction)
(
ProName crv_class
/* (In)
The class
*/
wchar_t* data_val
/* (In)
The data passed from an element in the tree
*/
/* (In)
The coordinate system
*/
double curve_param
/* (In)
The normalized curve parameter
*/
ProVector xyz_point
/* (Out)
The resulting XYZ point
*/
ProVector deriv1
/* (Out)
The first derivative
*/
ProVector deriv2
/* (Out)
The second derivative
*/
)
Returns
The function successfully evaluated the curve.
One or more of the input arguments are invalid.
User Guide References
Was this helpful?