*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> gluPwlCurve (3)              
Title
Content
Arch
Section
 

Contents


gluPwlCurve()                                       gluPwlCurve()


NAME    [Toc]    [Back]

       gluPwlCurve  -  describe a piecewise linear NURBS trimming
       curve

SYNOPSIS    [Toc]    [Back]

       void gluPwlCurve(
               GLUnurbs* nurb,
               GLint count,
               GLfloat* data,
               GLint stride,
               GLenum type );

PARAMETERS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

       gluPwlCurve() 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 curve that is not piecewise 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    [Toc]    [Back]

       To describe a trim curve that closely follows the contours
       of a NURBS surface, call gluNurbsCurve().

SEE ALSO    [Toc]    [Back]

      
      
       gluBeginCurve(3), gluBeginTrim(3), gluNewNurbsRenderer(3),
       gluNurbsCurve(3)



                                                    gluPwlCurve()
[ Back ]
 Similar pages
Name OS Title
pwlcurve IRIX describes a piecewise linear trimming curve for NURBS surfaces
gluEndTrim Tru64 delimit a NURBS trimming loop definition
bgntrim IRIX delimit a NURBS surface trimming loop
glubegintrim IRIX delimit a NURBS trimming loop definition
gluBeginTrim Tru64 delimit a NURBS trimming loop definition
endtrim IRIX delimit a NURBS surface trimming loop
endcurve IRIX delimit a NURBS curve definition
glunurbscurve IRIX define the shape of a NURBS curve
gluBeginCurve Tru64 delimit a NURBS curve definition
nurbscurve IRIX controls the shape of a NURBS curve
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service