[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

patchcurves Subroutine

Purpose

Sets the number of curves used to represent a patch.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void patchcurves(Int32 ucurves, Int32 vcurves)

FORTRAN Syntax

SUBROUTINE PATCHC(ucurves, vcurves)
INTEGER*4 ucurves, vcurves

Description

The patchcurves subroutine sets the number of u and v curves that represents a patch as a wire frame.

Parameters

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.

Example

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.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/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.

Related Information

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.


[ Previous | Next | Contents | Glossary | Home | Search ]