GINO Graphics Suite - GINO v9.0  

gDrawSweptBezierSurface

Syntax

[C/C++:]
void gDrawSweptBezierSurface(int np1, GPOINT3 *points1, int np2, GPOINT3 *points2, ...);
[F90:]
subroutine gDrawSweptBezierSurface(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 gDrawSweptBezierSurface() draws a surface based on an interpolation of the first set of control points in points1 extruded along a curve based on an interpolation of the second set of control points in points2.

The arguments gUComp and gVComp define the object's complexity in its U (curve1) and V (curve2) 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

gDrawSweptBezierSurface Usage
gDrawFacet