Category Creating import and custom geometry, Object ProForeign

Function ProForeignCurveClassEvalSet


Description
Binds the foreign curve class to the user's evaluation function.

NOTE:

If you call this function with eval_func set to NULL, the class will "unbind" from the previously bound evaluation function.

Synopsis
#include <ProForeignCurve.h>
ProErrorProForeignCurveClassEvalSet(
ProName crv_class
/* (In)
The curve class
*/
ProForeignCurveEvalFunction eval_func
/* (In)
The evaluation function
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully bound the class.
PRO_TK_BAD_INPUTSThe specified class name is NULL, or the class name is empty.
PRO_TK_E_NOT_FOUNDThe specified class name was not found, when the eval_func is NULL.

Manual References:

  1. Event-driven Programming: Foreign Datum Curves: Binding the Evaluation Function to a Class