Action:
|
Gets the direction in the parameter space of a surface at a given position that corresponds to a given object-space tangent direction.
|
|
Prototype:
|
SPApar_dir bs3_surface_invdir (
|
|
|
SPAunit_vector const& dir,// given direction
|
|
|
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:
|
Usually, this routine will normalize the result of calling
bs3_surface_unitvec.
|
|
Errors:
|
Returns an empty
SPApar_dir if the input surface is null.
|
|
Limitations:
|
Results are not defined for points that do not lie on the surface.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Read-only
|