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

setnurbsproperty Subroutine

Purpose

Sets a property for the display of trimmed NURBS surfaces.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void setnurbsproperty(Int32 Property, Float32 Value)

FORTRAN Syntax

SUBROUTINE SETNUR(property, value)
INTEGER*4 property
REAL value

Description

The setnurbsproperty subroutine sets a property for the display of a trimmed Non-Uniform Rational B-Spline (NURBS) surfaces. The display of NURBS surfaces can be controlled in different ways. The following is a list of the display properties that can be affected.

C FORTRAN Description
N_ERRORCHECKING NERROR If value is 1.0, some error checking is enabled. If error checking is disabled, the system runs slightly faster. The default value is 0.0.
N_PIXEL_TOLERANCE NPIXEL The value is the maximum length, in pixels, of edges of polygons on the screen used to render trimmed NURBS surfaces. The default value is 50.0 pixels.

Parameters

property Specifies the name of the property to be set.
value Specifies the value to which the named property is to be set.

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

Marking the beginning and end of a NURBS surface definition with the bgnsurface and endsurface subroutines.

Marking the beginning and end of a NURBS surface trimming loop with the bgntrim and endtrim subroutines.

Returning the current value of a trimmed NURBS surfaces display property with the getnurbsproperty subroutine.

Controlling the shape of a NURBS trimming curve with the nurbscurve subroutine.

Controlling the shape of a NURBS surface with the nurbssurface subroutine.

Describing a piecewise linear trimming curve for NURBS surfaces with the pwlcurve subroutine.

AIX Graphics Library Overview and Drawing NURBS Curves and Surfaces.


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