Action:
|
Estimates the parameter values of the foot of a perpendicular from a given point to the surface.
|
|
Prototype:
|
SPApar_pos bs3_surface_estimate_param (
|
|
|
SPAposition const& pos,
|
// given point
|
|
|
bs3_surface surface,
|
// given surface
|
|
|
logical recurse
|
// use recursion
|
|
|
|
= FALSE
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/logical.h"
|
|
#include "baseutil/vector/param.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
It is expected that this function, followed by a call to bs3_surface_perp using the estimated parameter value, will be substantially faster than a call to bs3_surface_perp with no estimated parameter value; however, the result may not give the nearest perpendicular, even if the given point is very near to the surface. Use bs3_surface_estimate_param only with algorithms that are resistant to such unexpected results.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Read-only
|