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

getnurbsproperty Subroutine

Purpose

Returns the current value of a trimmed NURBS surfaces display property

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void getnurbsproperty(Int32 property, Float32 *value)

FORTRAN Syntax

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

Description

The getnurbsproperty subroutine returns the current value of a trimmed Non-Uniform Rational B-Spline (NURBS) surfaces display property. The display of NURBS surfaces can be controlled in different ways, as explained in the description of the value parameter.

Note: This subroutine cannot be used to add to a display list.

Parameters

property Specifies the name of the property to be queried.
value Specifies a pointer to the location into which the system is to write the value of the named property. The display properties that can be affected and their possible values are as follows:
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.

Implementation Specifics

This subroutine is part of GL in the AIXwindows 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.

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.

Setting a property for the display of trimmed NURBS with the setnurbsproperty subroutine.

AIX Graphics Library Overview, Drawing NURBS Curves and Surfaces, and Querying the System.


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