rcrvn(3G) rcrvn(3G)
rcrvn  draws a series of curve segments
void rcrvn(n, geom)
long n;
Coord geom[][4];
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.
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 Bspline, 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.
crv, crvn, curvebasis, curveprecision, defbasis, depthcue, linesmooth,
linewidth, rcrv, setlinestyle
PPPPaaaaggggeeee 1111 [ Back ]
