Action:
|
Adds knots to a surface.
|
|
Prototype:
|
int bs3_surface_add_knot (
|
|
|
double par,
|
// given parameter
|
|
|
int multp,
|
// multiplicity wanted
|
|
|
|
|
// at added knot
|
|
|
bs3_surface in_sur,
|
// given surface
|
|
|
int u_or_v,
|
// add a knot: 0=u,
|
|
|
|
|
// 1=v direction
|
|
|
double knot_tol
|
// knot tolerance
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/sg_bs3s/sps3srtn.hxx"
|
|
Description:
|
Adds knot to a surface up to the requested multiplicity with in the given knot tolerance. This routine returns the number of knots added.
|
|
|
The input parameter has to be with in the parameter bounds of the given surface. The final multiplicity of the added knot cannot be greater than the degree of the surface in the requested direction.
|
|
|
Use the tolerance to distinguish between the knots. It is used to test whether the knot being added already exists.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3s/sps3srtn.hxx
|
|
Effect:
|
Changes model
|