Action:
|
Creates a spline surface from the given torus.
|
|
Prototype:
|
bs3_surface bs3_surface_make_tor (
|
|
|
torus const& tor,
|
|
|
// given torus
|
|
|
SPAbox const& region_of_interest,// region of
|
|
|
|
|
|
|
// interest
|
|
|
double = 0,
|
|
|
// requested fit
|
|
|
|
|
|
|
// 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/tordef.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
Creates a parametric surface coincident with the given torus over at least the portion inside the box, within the specified positional tolerance, and has its normal in the same sense.
|
|
|
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 torus.
|
|
|
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
|