Action:
|
Converts a portion of a general ACIS surface into a spline surface.
|
|
Prototype:
|
bs3_surface bs3_surface_make_sur (
|
|
|
surface const& sur,
|
|
|
// given surface
|
|
|
SPAbox const& region_of_interest,// region of
|
|
|
|
|
|
|
// interest
|
|
|
double requested_fit
|
|
|
// requested fit
|
|
|
|
= 0,
|
|
|
// tolerance
|
|
|
double& actual_fit
|
|
|
// return actual
|
|
|
|
=*(double*)NULL_REF,
|
|
|
// fit used
|
|
|
SPApar_transf& pt
|
|
|
// return param.
|
|
|
|
=*(SPApar_transf*)NULL_REF
|
// space mapping
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/box.hxx"
|
|
#include "baseutil/vector/param.hxx"
|
|
#include "kernel/kerngeom/surface/surdef.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
Converts a general surface into a spline. There is no guarantee that the parameterization of the spline will have any obvious relationship to that of the original surface.
|
|
|
If the
actual_fit argument is supplied, it returns the actual tolerance achieved, or exact zero if this is better than system positional tolerance. The parameterization of the resulting surface need not match in any way that of the original surface.
|
|
|
Optionally, the mapping from the old parameter bounds to the new parameter bounds can be returned by supplying the
pt argument.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Changes model
|