Action:
|
Determines all positions on a
bs3_curve where a line from a given position is tangent to the curve.
|
|
Prototype:
|
logical bs3_curve_line_tan_pt_crv (
|
|
|
const SPAposition& point,// start point
|
|
|
bs3_curve crv,
|
// given curve
|
|
|
const SPAunit_vector&
|
// curve normal
|
|
|
|
normal,
|
// curve normal
|
|
|
int nmax,
|
// maximum number of
|
|
|
|
|
// points to find
|
|
|
int& num_pts,
|
// returned number of
|
|
|
|
|
// tangency points found
|
|
|
SPAposition tanpts[]
|
// returned tangency
|
|
|
|
|
// points
|
|
|
);
|
|
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"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/sg_bs3c/sps3crtn.hxx"
|
|
Description:
|
Returns
TRUE if the points were computed;
FALSE if no solution was found.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3c/sps3crtn.hxx
|
|
Effect:
|
Read-only
|