cxGeoSplineDefine - define a nurb spline
#include <cx/Geometry.h>

cxGeo cxGeoSplineDefine( int npoint, float *point, int nknot, float *knot)
integer function cxGeoSplineDefine(npoint,point,nknot,knot)
integer npoint
real point(4, npoint)
integer nknot
real knot(nknot)
Number of control points.
An array of 4-vector (x,y,z,w) control points
Number of knots.
A nondecreasing sequence of knot locations.
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(3E).

Valid attributes are color and transparency. Attribute distribution may be CX_GEO_PER_OBJECT.

Last modified: Mon Nov 6 16:33:19 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999