Action:
|
Evaluates the normal to a three-dimensional B-spline surface at a given (u,v).
|
|
Prototype:
|
SPAunit_vector bs3_surface_normal (
|
|
|
SPApar_pos const& uv,
|
// given parameter point
|
|
|
bs3_surface bs
|
// given surface
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/param.hxx"
|
|
#include "baseutil/vector/unitvec.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
This routine is often implemented as a call to
bs3_surface_eval to obtain the first derivatives, returning the cross product, suitably normalized, but special action may be required at parameter singularities. At a surface singularity, like the apex of a cone, the routine returns a unit vector with all its components zero.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Read-only
|