Action:
|
Interpolates a cubic B-spline curve (Hermite interpolation) from points and tangents.
|
|
Prototype:
|
bs3_curve bs3_curve_hermite_interp (
|
|
|
int no_pts,
|
// number of points to
|
|
|
|
|
// interpolate
|
|
|
SPAposition* pts,
|
// array of points
|
|
|
SPAvector* tans,
|
// array of tangents
|
|
|
double* knots
|
// array of knots
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/vector.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/sg_bs3c/sps3crtn.hxx"
|
|
Description:
|
Each array is of size
no_pts.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3c/sps3crtn.hxx
|
|
Effect:
|
Changes model
|