1GLUPWLCURVE(3G) OpenGL Manual GLUPWLCURVE(3G)
2
3
4
6 gluPwlCurve - describe a piecewise linear NURBS trimming curve
7
9 void gluPwlCurve(GLUnurbs* nurb, GLint count, GLfloat* data,
10 GLint stride, GLenum type);
11
13 nurb
14 Specifies the NURBS object (created with gluNewNurbsRenderer()).
15
16 count
17 Specifies the number of points on the curve.
18
19 data
20 Specifies an array containing the curve points.
21
22 stride
23 Specifies the offset (a number of single-precision floating-point
24 values) between points on the curve.
25
26 type
27 Specifies the type of curve. Must be either GLU_MAP1_TRIM_2 or
28 GLU_MAP1_TRIM_3.
29
31 gluPwlCurve describes a piecewise linear trimming curve for a NURBS
32 surface. A piecewise linear curve consists of a list of coordinates of
33 points in the parameter space for the NURBS surface to be trimmed.
34 These points are connected with line segments to form a curve. If the
35 curve is an approximation to a curve that is not piecewise linear, the
36 points should be close enough in parameter space that the resulting
37 path appears curved at the resolution used in the application.
38
39 If type is GLU_MAP1_TRIM_2, then it describes a curve in
40 two-dimensional (u and v) parameter space. If it is GLU_MAP1_TRIM_3,
41 then it describes a curve in two-dimensional homogeneous (u, v, and w)
42 parameter space. See the gluBeginTrim() reference page for more
43 information about trimming curves.
44
46 To describe a trim curve that closely follows the contours of a NURBS
47 surface, call gluNurbsCurve().
48
50 gluBeginCurve(), gluBeginTrim(), gluNewNurbsRenderer(), gluNurbsCurve()
51
53 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
54 under the SGI Free Software B License. For details, see
55 http://oss.sgi.com/projects/FreeB/.
56
58 opengl.org
59
60
61
62opengl.org 07/13/2018 GLUPWLCURVE(3G)