bs3_curve_interp_knots
List of: Functions
Subjects: Construction Geometry, Spline Interface
Contents: Kernel

Action: Creates a cubic curve which interpolates or fits to an array of points, with given start and end directions.

Prototype: bs3_curve bs3_curve_interp_knots (


int npt, // number of points to




// interpolate


SPAposition const* pos[],// points to interpolate


double knots[], // knot vector array


const SPAvector& sdir, // start derivative


const SPAvector& edir // end derivative


);

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/d3_bs3/spd3rtn.hxx"

Description: If a direction is a NULL reference or zero length, then a natural boundary condition is used, that is zero second derivative at the appropriate end.

Limitations: The number of knots in the knot vector must be (npt + degree + 1). Since this is a cubic (degree is 3), the number of knots must be npt + 4.

Library: kernel

Filename: kern/kernel/spline/d3_bs3/spd3rtn.hxx

Effect: Changes model
PDF/KERN/18FN3C1.PDF
HTM/DATA/KERN/KERN/18FN3C1/0040.HTM