Action:
|
Creates a
bs2_curve that approximates a segment of a
bs3_curve lying on a surface.
|
|
Prototype:
|
bs2_curve bs2_curve_for_curve_on_surf (
|
|
|
bs3_curve ebs,
|
// object space curve
|
|
|
double sparam,
|
// start parameter on
|
|
|
|
|
// curve
|
|
|
double eparam,
|
// end parameter on curve
|
|
|
bs3_surface srf,
|
// surface curve lies on
|
|
|
double fit
|
// fit tolerance
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/spline/bs2_crv/bs2curve.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/sg_bs2c/sps2crtn.hxx"
|
|
Description:
|
Given a
bs3_surface and a
bs3_curve known to lie on the surface (within some tolerance), calculate a
bs2_curve that will approximate the curve between a start parameter and an end parameter to within a fit tolerance.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs2c/sps2crtn.hxx
|
|
Effect:
|
Changes model
|