Action:
|
Evaluates the cross curvature of a three-dimensional B-spline surface at a given
uv.
|
|
Prototype:
|
double bs3_surface_cross (
|
|
|
SPApar_pos const& uv,
|
// given parameter point
|
|
|
SPAunit_vector const& dir,// object space tangent
|
|
|
|
|
// direction
|
|
|
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:
|
Evaluates the cross curvature of a three-dimensional B-spline surface at a given
uv.
|
|
|
This is equivalent to constructing a plane through the given point and perpendicular to the given direction, which must be tangent to the surface at the given point, and returning the curvature of the intersection curve between the plane and the surface at that point.
|
|
|
If the intersection curve is convex when viewed from the outside of the surface (the side that the normal points toward), the sign of the result is negative. If the curve is is concave, the sign is positive. If there is a discontinuity in curvature at the given point, the value returned is for the left-hand side of the intersection curve as viewed in the given tangent direction with the surface normal upwards.
|
|
Errors:
|
Returns -1 if the input surface is null.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Read-only
|