Sets the current spline surface basis matrices.
FORTRAN (libfgl.a)
void patchbasis(Int32 uid, Int32 vid)
SUBROUTINE PATCHB(uid, vid) INTEGER*4 uid, vid
The patchbasis subroutine sets the current basis matrices (defined by the defbasis subroutine) for the uid and vid parametric directions of a surface patch. The patch subroutine uses the current u and v bases when it executes.
The example C language program patch1.c calls the patchbasis subroutine before calling the patch subroutine to set the basis matrix for drawing the curves that represent each surface patch.
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. |
Defining a cubic spline basis matrix with the defbasis subroutine.
Drawing a surface patch with the patch subroutine.
Setting the number of curves used to represent a patch with the patchcurves 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.