Sets the precision at which curves are drawn in a patch.
void patchprecision(Int32 usegments, Int32 vsegments)
PATCHP(usegments, vsegments) INTEGER*4 usegments, vsegments
The patchprecision subroutine sets the precision with which the system draws curves to make up a wire frame patch. Patch precisions are similar to curve precisions; they specify the minimum number of line segments used to draw a patch.
|usegments||Specifies the number of line segments used to draw a curve in the u direction.|
|vsegments||Specifies the number of line segments used to draw a curve in the v direction.|
The example C language program patch1.c calls the patchprecision subroutine to set the precision for drawing the curves that represent surface patches before calling the patch subroutine.
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.|
Setting the number of line segments that draw a curve segment with the curveprecision subroutine.
Drawing a surface patch with the patch subroutine.
Setting the current spline surface basis matrices with the patchbasis subroutine.
Setting the number of curves used to represent a patch with the patchcurves 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.