Syntax
[C/C++:]
void gDrawRuledBezierSurface(int np1, GPOINT3 *points1, int np2, GPOINT3 *points2, ...);
[F90:]
subroutine gDrawRuledBezierSurface(np1, points1, np2, points2, gUComp, gVComp)
integer, intent(in) :: np1,np2
type (GPOINT3), intent(in) :: points1(*),points2(*)
integer, optional, intent(in) :: gUComp, gVComp
Arguments
np1
Number of control points
points1
Array of 3D control points
np2
Number of control points
points2
Array of 3D control points
Optional Args
gUComp ,gVComp
Optional object complexity (default 10 x 10)
Description
The routine gDrawRuledBezierSurface() draws a surface between a curve based on an interpolation of the first set of control points in
points1 and curve based on an interpolation of the second set of control points in
points2. Where one curve has a different number of control points, the one with the smaller number is elevated to the number in the larger.
The arguments
gUComp and
gVComp define the object's complexity in its U (curve1/curve2) and V axes respectively. These values determine the number of divisions (facets) in either direction and therefore the object's smoothness.
The facets are drawn in the current facet colour/material according to the current lighting/shading environment and subject to the current modelling/viewing transformations.
See Also
gDrawRuledBezierSurface UsagegDrawFacet