Action:
|
Evaluates the curve and its parametric derivative at the given parameter value.
|
|
Prototype:
|
void bs2_curve_eval (
|
|
|
double param,
|
// given parameter value
|
|
|
bs2_curve cur,
|
// given curve
|
|
|
SPApar_pos& x,
|
// returned parametric
|
|
|
|
|
// position
|
|
|
SPApar_vec& xdot
|
// returned first
|
|
|
|
=*(SPApar_vec*)NULL_REF,// derivative
|
|
|
SPApar_vec& xdotdot
|
// returned second
|
|
|
|
=*(SPApar_vec*)NULL_REF// derivative
|
|
|
);
|
|
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:
|
When that value is not returned and need not be evaluated, either of the two return values may be
NULL references.
|
|
|
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.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs2_crv/sp2crtn.hxx
|
|
Effect:
|
Read-only
|