UF_EVAL_initialize (curves, &evaluator );
if( evaluator != NULL )
{
UF_EVAL_ask_limits ( evaluator, limits );
//ask start point
errorCode = UF_EVAL_evaluate_unit_vectors (evaluator, limits[0], point, tangent, normal, binormal);
//ask end point
errorCode = UF_EVAL_evaluate_unit_vectors (evaluator, limits[1], point, tangent, normal, binormal);
UF_EVAL_free( evaluator );
} |