[F90:]subroutine gReduceBezier2D(npts, points2) subroutine gReduceBezier3D(npts, points3) integer, intent(inout) :: npts type (GPOINT), intent(inout) :: points2(*) type (GPOINT3), intent(inout) :: points3(*)
Arguments
npts
Number of points in Bezier curve, decremented by one on return.
points2,points3
Array holding absolute coordinates of Bezier curve control points.
Description
The gReduceBezier set of routines takes a set of Bezier curve control points in 2D or 3D and generates a new set, with one less control point, that represents an approximation of the same curve.
Note that the value passed in npts will be decremented by one on return and the arrays points2 or points3 will contain one less significant control point in them.