Action:
|
Creates a surface identical to the given surface.
|
|
Prototype:
|
bs3_surface bs3_surface_subset (
|
|
|
bs3_surface old_bs,
|
// given surface
|
|
|
SPApar_box const&
|
// required boundary
|
|
|
|
new_range,
|
// range
|
|
|
double
|
// required positional
|
|
|
|
= 0,
|
// fit
|
|
|
double& actual_fit
|
// actual fit used
|
|
|
|
=*(double*)NULL_REF
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/param.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
Creates a surface identical to the given surface (including parameterization) within the overlap between the given parameter range and the range of the surface (taking into account periodicity), but not necessarily defined outside.
|
|
|
If the subset cannot be taken, or is deemed not to be worthwhile, the routine may return
NULL. The routine may return a surface that is only a fit to the true subset surface, to the specified precision. Because most systems will represent such a surface exactly, it is unlikely that this option will be exercised. In this case, the actual fit value will be returned as exact 0.
|
|
Errors:
|
Returns
NULL if the input surface is
NULL.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Changes model
|