The gluPwlCurve function describes a piecewise linear NURBS trimming curve.
void gluPwlCurve(
GLUnurbsObj * nobj,
GLint count,
GLfloat * array,
GLint stride,
GLenum type
);
The gluPwlCurve function describes a piecewise linear trimming curve for a NURBS surface. A piecewise linear curve consists of a list of coordinates of points in the parameter space for the NURBS surface to be trimmed. These points are connected with line segments to form a curve. If the curve is an approximation to a real curve, the points should be close enough that the resulting path appears curved at the resolution used in the application.
If type is GLU_MAP1_TRIM_2, it describes a curve in two-dimensional (u and v) parameter space. If it is GLU_MAP1_TRIM_3, then it describes a curve in two-dimensional homogeneous (u, v, and w) parameter space. For more information about trimming curves, see gluBeginTrim.
Windows NT: Use version 3.5 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in glu.h.
Import Library: Link with glu32.lib.
gluBeginCurve, gluBeginTrim, gluNewNurbsRenderer, gluNurbsCurve