All Frameworks  Class Hierarchy  This Framework  Indexes

SPAkern Global Function bs2_curve_subset


bs2_curve bs2_curve_subset(bs2_curve old_bs,
SPAinterval const& new_range,
double fit= 0,
double& actual_fit= *(double *)NULL_REF )
Creates a curve that is a subset of a given curve.

Role: 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.

Effect: Changes model

Parameters:
old_bs
given curve.
new_range
required bounds.
fit
required fit tolerance.
actual_fit
returned actual fit tolerance used.

This object is included in the file: sp2crtn.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.