Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rcrvn(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



rcrvn(3G)                                                            rcrvn(3G)



NAME
     rcrvn - draws a series of curve segments

C SPECIFICATION
     void rcrvn(n, geom)
     long n;
     Coord geom[][4];

PARAMETERS
     n      expects the number of control points to be used in drawing the
            curve.

     geom   expects the matrix containing the control points of the curve
            segments.

DESCRIPTION
     rcrvn draws a series of rational cubic spline curve segments using the
     current basis and precision.  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.

     Each curve segment is approximated by a sequence of straight lines.  All
     lines use the current linestyle, which is reset prior to the first line
     and continues through subsequent lines.  Other line modes, including
     depthcueing, line width, and line antialiasing, also apply to the lines
     generated by rcrvn.

     After rcrvn executes, the graphics position is undefined.

SEE ALSO
     crv, crvn, curvebasis, curveprecision, defbasis, depthcue, linesmooth,
     linewidth, rcrv, setlinestyle



















                                                                        Page 1



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