Action:
|
Evaluates the curve and its parametric derivatives at the given parameter value.
|
|
Prototype:
|
void bs3_curve_eval (
|
|
|
double param,
|
// given parameter
|
|
|
bs3_curve cur,
|
// given curve
|
|
|
SPAposition& x,
|
// returned position
|
|
|
SPAvector& xdot
|
// returned first
|
|
|
|
=*(SPAvector*)NULL_REF,// derivative
|
|
|
SPAvector& xdotdot
|
// returned second
|
|
|
|
=*(SPAvector*)NULL_REF// 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/bs3_crv/sp3crtn.hxx"
|
|
Description:
|
The number of derivatives evaluated depends upon the last two arguments. If the last argument is not
NULL, two derivatives will be evaluated. If the last argument is
NULL and the next-to-last argument is not
NULL, one derivative will be calculated. If both are
NULL, no derivatives will be calculated.
|
|
Limitations:
|
This routine ignores the possibility of discontinuities. At a discontinuity, values will be returned for either the left or the right side, with no current guarantee of which.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_crv/sp3crtn.hxx
|
|
Effect:
|
Read-only
|