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

Action: Evaluates an arbitrary number of derivatives and selects the handedness of derivatives at discontinuities.

Prototype: int bs2_curve_evaluate (


double param, // given parameter


bs2_curve cur, // given curve


SPApar_pos& pos, // returned parametric




// position


SPApar_vec** deriv // array of at least nd



= NULL, // pointers to locations




// into which derivatives




// are to be placed


int nd // number of derivatives



= 0, // to be evaluated


int index // negative to evaluate



= 0 // the left-hand




// derivative at a knot,




// positive to evaluate




// the right-hand




// derivative, 0 for




// don't care


);

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: Gives an arbitrary number of derivatives (up to a maximum returned by accurate_derivs), and selects the handedness of derivatives at discontinuities. This function returns the number of derivatives actually evaluated. Any derivatives requested but beyond the maximum are set to 0.

Library: kernel

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

Effect: Read-only
PDF/KERN/17FN2.PDF
HTM/DATA/KERN/KERN/17FN2/0013.HTM