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

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

Prototype: bs2_curve bs2_curve_interp (


int npts,
// number of points


SPApar_pos const* pts,
// array of points


SPApar_vec const& start_dir, // start derivative


SPApar_vec const& end_dir, // end derivative


double fitol
// fit tolerance



= 0,


double& actual_tol
// returned actual



=*(double*)NULL_REF
// fit tolerance used


);

Includes: #include "kernel/acis.hxx"

#include "baseutil/vector/param.hxx"

#include "kernel/spline/bs2_crv/bs2curve.hxx"

#include "kernel/spline/bs2_crv/sp2crtn.hxx"

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

Library: kernel

Filename: kern/kernel/spline/bs2_crv/sp2crtn.hxx

Effect: Changes model
PDF/KERN/17FN2.PDF
HTM/DATA/KERN/KERN/17FN2/0017.HTM