Action:
|
Estimates the parameter of a near point on a surface, given the parameter of a control point of the surface.
|
|
Prototype:
|
double bs3_surface_max_size_to_param_line (
|
|
|
bs3_surface bs3_surf,
|
// given surface
|
|
|
const SPAposition& P,
|
// position
|
|
|
double param_val,
|
// parameter value
|
|
|
logical from_hi_edge,
|
// edge
|
|
|
logical v_param_line
|
// v parameter line
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/logical.h"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/d3_bs3/spd3rtn.hxx"
|
|
Description:
|
Returns an upper limit to the maximum distance from a point to that part of the
bs3_surface whose vertices have parameter values between the given edge and the given value. If
v_param_line is true, then the
u values of the vertices' effective knot values are checked to make sure that they lie between the low/hi
u edge (depending on whether
from_hi is
TRUE/FALSE) and the given (u) param value.
|
|
Limitations:
|
This function will give poor estimates if the knot vector or control point distribution is skewed.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/d3_bs3/spd3rtn.hxx
|
|
Effect:
|
Read-only
|