Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ crvn(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

crvn(3G)  —  Silicon Graphics

NAME

crvn − draws a series of curve segments

SPECIFICATION

C
crvn(n, geom)
long n;
Coord geom[][3];

FORTRAN
subroutine crvn(n, geom)
integer*4 n
real geom(3,n)

Pascal
procedure crvn(n: longint; var geom: Coord);

DESCRIPTION

crvn draws a series of cubic spline curve segments using the current basis and precision.  rcrvn draws the rational spline.  The control points specified in geom determine the shapes of the curve segments and are used four at a time.  For example, if n is 6, three curve segments are drawn, the first using points 0,1,2,3 as control points, and the second and third segments are controlled by points 1,2,3,4 and 2,3,4,5, respectively.  If the current basis is a B-spline, Cardinal spline, or basis with similar properties, the curve segments are joined end to end and appear as a single curve. 

SEE ALSO

crv, crvn, curvebasis, curveprecision, defbasis, rcrvn Programming Guide, Section 11.2, Drawing Curves

Version 3.6  —  December 20, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026