Sets the number of curves used to represent a patch.
FORTRAN (libfgl.a)
void patchcurves(Int32 ucurves, Int32 vcurves)
SUBROUTINE PATCHC(ucurves, vcurves) INTEGER*4 ucurves, vcurves
The patchcurves subroutine sets the number of u and v curves that represents a patch as a wire frame.
ucurves | Specifies the number of curve segments to be drawn in the u direction. |
vcurves | Specifies the number of curve segments to be drawn in the v direction. |
The example C language program patch1.c uses the patchcurves subroutine to define to the patch subroutine the number of curves to use in drawing three surface patches.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Drawing a surface patch with the patch subroutine.
Setting the current spline surface basis matrices with the patchbasis subroutine.
Setting the precision at which curves are drawn with the patchprecision subroutine.
Drawing a rational surface patch with the rpatch subroutine.
AIX Graphics Library Overview, Drawing NURBS Curves and Surfaces, and Drawing Wire Frame Curves and Surface Patches.