EasyManuals Logo

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #361 background imageLoading...
Page #361 background image
P
gluPwlCurve
Chapter 14
361
gluPwlCurve
gluPwlCurve: describe a piece-wise linear NURBS trimming curve.
C Specification
void gluPwlCurve(
GLUnurbs* nurb,
GLint count,
GLfloat* data,
GLint stride,
GLenum type)
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.
Description
gluPwlCurve describes a piece-wise linear trimming curve for a NURBS surface. A
piece-wise 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 curve that is not piece-wise linear, the
points should be close enough in parameter space that the resulting path appears curved
at the resolution used in the application.
If type is GLU_MAP1_TRIM_2, then 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. See the gluBeginTrim
reference page for more information about trimming curves.
Notes
To describe a trim curve that closely follows the contours of a NURBS surface, call
gluNurbsCurve.
See Also
gluBeginCurve,
gluBeginTrim,
gluNewNurbsRenderer,
gluNurbsCurve

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals