Action:
|
Creates a spline surface that is an approximation to a constant-radius circular pipe centered on the given spine curve.
|
|
Prototype:
|
bs3_surface bs3_surface_make_pipe (
|
|
|
double radius,
|
// signed radius
|
|
|
curve const& spine,
|
// spine curve
|
|
|
curve const& zero,
|
// curve giving zero
|
|
|
|
|
// u direction
|
|
|
SPAinterval const& u_range,// angle range for
|
|
|
|
|
// cross-sections
|
|
|
double requested_fit
|
// required fit tolerance
|
|
|
|
= 0,
|
|
|
double& actual_fit
|
// returns the actual
|
|
|
|
=*(double*)NULL_REF
|
// fit tolerance used
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/interval.hxx"
|
|
#include "kernel/kerngeom/curve/curdef.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
The second curve gives the direction at each point of the zero cross-section parameter (the u-direction), and the interval gives the parameter (angle) range required in the cross direction. The u-parameter increases clockwise around the spine direction for a positive radius (convex surface) and counterclockwise for a negative radius (concave surface).
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Changes model
|