GINO Graphics Suite - GINO v9.0  

gElevateBezier

Syntax

[C/C++:]
void gElevateBezier2D(int *npts, GPOINT *points2);
void gElevateBezier3D(int *npts, GPOINT3 *points3);
[F90:]
subroutine gElevateBezier2D(npts, points2)
subroutine gElevateBezier3D(npts, points3)

integer, intent(inout) :: npts
type (GPOINT), intent(inout) :: points2(*)
type (GPOINT3), intent(inout) :: points3(*)

Arguments

npts
Number of points in Bezier curve, incremented by one on return.

points2,points3
Array holding absolute coordinates of Bezier curve control points.

Description

The gElevateBezier set of routines takes a set of Bezier curve control points in 2D or 3D and generates a new set, with an additional control point, that represents the same curve.

Note that the value passed in npts will be incremented by one on return and the arrays points2 or points3 must be large enough to contain the extra control point that is returned in these arrays.

See Also

gElevateBezier2D Usage
gElevateBezier3D Usage
gReduceBezier2D
gReduceBezier3D