HC_Show_NURBS_Curve_Size

void HC_Show_NURBS_Curve_Size(Key key, int *degree, int *cp_count, int *weight_count, int *knot_count)
void HC_Show_NURBS_Curve_Size(Key key, int degree, int cp_count, int weight_count, int knot_count)

Finds the size of a given NURBS curve. This is useful in determining the size of the data structure that must hold points

HC_Show_NURBS_Curve()

Parameters

key: Unique numeric identifier pointing to a NURBS curve in the database.

degree: Degree of the curve. Returned to caller. Passed by reference always. Can be NULL if not interested.

cp_count: Number of valid points in points. Returned to caller. Passed by reference always. Can be NULL if not interested.

weight_count: Number of weights in the NURBS curve. Returned to caller. Passed by reference always.

knot_count: Number of knots in the NURBS curve. Returned to caller. Passed by reference always.