rpatch(3G)rpatch(3G)NAMErpatch - draws a rational surface patch
C SPECIFICATION
void rpatch(geomx, geomy, geomz, geomw)
Matrix geomx, geomy, geomz, geomw;
PARAMETERS
geomx expects a 4x4 matrix containing the x coordinates of the 16
control points of the patch.
geomy expects a 4x4 matrix containing the y coordinates of the 16
control points of the patch.
geomz expects a 4x4 matrix containing the z coordinates of the 16
control points of the patch.
geomw expects a 4x4 matrix containing the w coordinates of the 16
control points of the patch.
DESCRIPTIONrpatch draws a rational surface patch using the current patchbasis,
patchprecision, and patchcurves which are defined earlier. The control
points geomx, geomy, geomz geomw determine the shape of the patch.
The patch is drawn as a web of curve segments. 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 of each curve segment,
and continues through subsequent lines in each curve segment. Other line
modes, including depthcueing, line width, and line antialiasing, also
apply to the lines generated by patch.
SEE ALSO
defbasis, patch, patchbasis, patchcurves, patchprecision
Page 1