Action:
|
Interpolates a mesh of points.
|
|
Prototype:
|
bs3_surface bs3_surface_intp (
|
|
|
int num_u,
|
// number of points in u
|
|
|
int num_v,
|
// number of points in v
|
|
|
const SPAposition pts[],
|
// points [num_u][num_v]
|
|
|
const SPAunit_vector
|
// u derivatives at start
|
|
|
|
du_s[],
|
// [num_v]
|
|
|
const SPAunit_vector
|
// u derivatives at end
|
|
|
|
du_e[],
|
// [num_v]
|
|
|
const SPAunit_vector
|
// v derivatives at start
|
|
|
|
dv_s[],
|
// [num_u]
|
|
|
const SPAunit_vector
|
// v derivatives at end
|
|
|
|
dv_e[]
|
// [num_u]
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/unitvec.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/sg_bs3s/sps3srtn.hxx"
|
|
Description:
|
Interpolates a mesh of points, optionally specifying the u and v tangent directions along the edges of the surface.
|
|
|
The points are stored in a single dimension array with u varying first, then
v. The interpolation scheme is cubic in both the u and v directions. The start and end derivatives must all be specified or all be
NULL.
|
|
Limitations:
|
No two adjacent points to be interpolated can be same with in tolerance. However the interpolated points can be same at start and end for closed surfaces, so other types of configurations are allowed which result in self-intersecting surfaces.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3s/sps3srtn.hxx
|
|
Effect:
|
Changes model
|