Action:
|
Creates a spline surface by revolving a three-dimensional B-spline curve about an axis.
|
|
Prototype:
|
bs3_surface bs3_surface_revolve_curve (
|
|
|
bs3_curve gen,
|
// generator curve
|
|
|
straight const& axis,
|
// axis
|
|
|
double start_ang
|
// start angle
|
|
|
|
= 0.0,
|
|
|
double stop_ang
|
// stop angle
|
|
|
|
= 0.0,
|
|
|
double
|
// requested fit
|
|
|
|
= 0,
|
// tolerance
|
|
|
double& actual_fit
|
// returned actual fit
|
|
|
|
=*(double*)NULL_REF
|
// tolerance used
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kerngeom/curve/strdef.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
The curve need not be planar. The generating curve defines the zero angular position, from that the start and stop angles are calculated, clockwise around the given axis. If the angles are equal, the curve is swept around a full circle. The result will match the true surface of revolution within the specified positional precision. If the actual precision achieved is better than system positional accuracy (for example if the surface package supports rational quadratic polynomial surfaces) then the actual tolerance will be returned as exactly zero.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Changes model
|