Action:
|
Determines the positions for creating a line tangent to two
bs3_curves.
|
|
Prototype:
|
logical bs3_curve_line_tan_2crv (
|
|
|
bs3_curve crv1,
|
// first given curve
|
|
|
double t1,
|
// first curve parameter
|
|
|
|
|
// guess
|
|
|
bs3_curve crv2,
|
// second given curve
|
|
|
double t2,
|
// second curve parameter
|
|
|
|
|
// guess
|
|
|
const SPAunit_vector&
|
// returned normal to
|
|
|
|
normal,
|
// plane of curve
|
|
|
SPAposition& pt1,
|
// returned first end of
|
|
|
|
|
// tangent line
|
|
|
SPAposition& pt2
|
// returned second end of
|
|
|
|
|
// tangent line
|
|
|
);
|
|
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:
|
Returns
TRUE if the points were computed, or
FALSE if no solution was found.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3c/sps3crtn.hxx
|
|
Effect:
|
Read-only
|