Action:
|
Gets an array of points and parameter values that form the linear approximation to a curve within a specified tolerance.
|
|
Prototype:
|
void bs3_curve_facet (
|
|
|
bs3_curve bs,
|
// given curve
|
|
|
double s,
|
// starting parameter
|
|
|
double e,
|
// ending parameter
|
|
|
double tol,
|
// tolerance
|
|
|
int nmax,
|
// max number of points
|
|
|
int& npts,
|
// returned number of
|
|
|
|
|
// points generated, set
|
|
|
|
|
// to nmax+1 if nmax
|
|
|
|
|
// exceeded
|
|
|
SPAposition pts[],
|
// returned array of
|
|
|
|
|
// points on the curve
|
|
|
double t[]
|
// returned parameter
|
|
|
|
|
// values at points
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/sg_bs3c/sps3crtn.hxx"
|
|
Description:
|
Two arrays are input to the routine, one for curve positions and one for the parameter values at these positions. The dimension of these arrays is specified by the maximum number of points to return.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3c/sps3crtn.hxx
|
|
Effect:
|
Read-only
|