NAME
cxGeoSplineDefine
- define a nurb spline
C SPECIFICATION
#include <cx/Geometry.h>
cxGeo cxGeoSplineDefine(
int npoint,
float *point,
int nknot,
float *knot)
FORTRAN SPECIFICATION
integer function cxGeoSplineDefine(npoint,point,nknot,knot)
integer npoint
real point(4, npoint)
integer nknot
real knot(nknot)
PARAMETERS
-
npoint
-
Number of control points.
-
point
-
An array of 4-vector (x,y,z,w) control points
-
nknot
-
Number of knots.
-
knot
-
A nondecreasing sequence of knot locations.
DESCRIPTION
This function creates a non-uniform rational B-spline (NURBS). The rational
control points are specified in point and the knot vector is given by
knot. Note that the control points are 4-vectors, not 3-vectors as
in other geometry routines.
The return value is a tag for this object that may be used to reference it
at a later time with cxGeoFocus(3).
Valid attributes are color and transparency. Attribute distribution may
be CX_GEO_PER_OBJECT.
SEE ALSO
cxGeoFocus(3E)
Last modified: Mon Nov 18 13:49:21 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996