Parameters

nurb
Specifies the NURBS object (created with gluNewNurbsRenderer).
count
Specifies the number of points on the curve.
data
Specifies an array containing the curve points.
stride
Specifies the offset (a number of single-precision floating-point values) between points on the curve.
type
Specifies the type of curve. Must be either GLU_MAP1_TRIM_2 or GLU_MAP1_TRIM_3.

Python Sample Code

gluPwlCurve
GLU_MAP1_TRIM_2