Action:
|
Gets the normalized rational polynomial for the indexed span of the given curve.
|
|
Prototype:
|
rat_poly_vec bs3_curve_span_poly (
|
|
|
int n,
|
// given span index
|
|
|
bs3_curve cur
|
// given curve
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernutil/poly/poly.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/bs3_crv/sp3crtn.hxx"
|
|
Description:
|
On the assumption that a
bs3_curve is a piecewise rational polynomial vector function of its parameter, convert the nth span into a rational polynomial vector.
|
|
|
The parameter range of the polynomial is normalized to [0, 1], to minimize numerical problems. The class
rat_poly_vec is defined in
kernutil/poly/poly.hxx, but can be treated roughly as four arrays of doubles, each being the coefficients of the polynomial in order of increasing degree.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_crv/sp3crtn.hxx
|
|
Effect:
|
System routine
|