Action:
|
Determines if the convex hull of the curve straddles any knots.
|
|
Prototype:
|
logical bs2_curve_straddles_bs3_surface_knots (
|
|
|
bs2_curve bs2_cur,
|
// given bs2_curve
|
|
|
bs3_surface bs3_sur,
|
// given bs3_surface
|
|
|
logical v_direction
|
// v direction
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/logical.h"
|
|
#include "kernel/spline/bs2_crv/bs2curve.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/d3_bs3/spd3rtn.hxx"
|
|
Description:
|
The method used is equivalent to checking if the convex hull of the curve straddles any knots. It determines if the given
bs2_curve straddles any of the knot lines of the given
bs3_surface, meaning that the curve inherits the continuity degree of the B-spline surface (otherwise its infinitely continuous). It doesn't matter if occasionally it does straddle some knots when it doesn't, but the converse error is not acceptable.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/d3_bs3/spd3rtn.hxx
|
|
Effect:
|
Read-only
|