Action:
|
Modifies the curve, such that the curve passes through the given point at the given parameter value and has the given tangent direction.
|
|
Prototype:
|
logical bs3_curve_modify (
|
|
|
bs3_curve bs_cur,
|
// given curve
|
|
|
SPAposition const& pos,
|
// position to be
|
|
|
|
|
// interpolated
|
|
|
SPAunit_vector const& dir,// direction to be
|
|
|
|
|
// interpolated
|
|
|
double t
|
// parameter value to be
|
|
|
|
|
// interpolated
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/logical.h"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/unitvec.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/sg_bs3c/sps3crtn.hxx"
|
|
Description:
|
The given curve is modified in place. Returns
TRUE if the operation is successful.
|
|
|
It may assume that the ends to be joined match in position and direction, and that the parameterization is continuous.
ACIS uses this routine only to rejoin parts of a periodic curve that have been split by
bs3_curve_split, in the opposite order, so that the resultant curve starts and ends at the split point. A curve made in this way may be marked as closed by
bs3_curve_join, but should not be marked periodic.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3c/sps3crtn.hxx
|
|
Effect:
|
Changes model
|