Action:
|
Determines whether an object-space point lies on a given surface within the given positional precision.
|
|
Prototype:
|
logical bs3_surface_testpt (
|
|
|
SPAposition const& pos,
|
// given point
|
|
|
double tol,
|
// permitted tolerance
|
|
|
bs3_surface bs,
|
// given surface
|
|
|
SPApar_pos const& uv_guess// approximation to the
|
|
|
|
=*(SPApar_pos*)NULL_REF,
|
// parameter value of
|
|
|
|
|
// the foot of the
|
|
|
|
|
// perpendicular from the
|
|
|
|
|
// point to the surface
|
|
|
SPApar_pos& uv_actual
|
// returned actual
|
|
|
|
=*(SPApar_pos*)NULL_REF // parameter value
|
|
|
|
|
// used
|
|
|
);
|
|
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:
|
This function takes advantage of an estimate of the surface parameter values to speed up processing, but works correctly without them.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Read-only
|