Action:
|
Creates a curve that is a subset of a given curve.
|
|
Prototype:
|
bs2_curve bs2_curve_subset (
|
|
|
bs2_curve old_bs,
|
|
// given curve
|
|
|
SPAinterval const& new_range,// required bounds
|
|
|
double = 0,
|
|
// required fit
|
|
|
|
|
|
// tolerance
|
|
|
double& actual_fit
|
|
// returned actual
|
|
|
|
=*(double*)NULL_REF
|
|
// fit tolerance used
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/interval.hxx"
|
|
#include "kernel/spline/bs2_crv/bs2curve.hxx"
|
|
#include "kernel/spline/bs2_crv/sp2crtn.hxx"
|
|
Description:
|
Creates a new curve that is a subset of the given curve. The subset is the overlap in parameter space of the given curve and a given interval. A curve periodic in one or both parameter directions is rolled around if need be to cover the required range. It is very unlikely that the tolerance arguments will be needed, but they are included for completeness.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs2_crv/sp2crtn.hxx
|
|
Effect:
|
Changes model
|