Action:
|
Gets the number of control points in the
u and
v directions, and the array of control points, for the given surface.
|
|
Prototype:
|
void bs3_surface_control_points (
|
|
|
bs3_surface bs,
|
// input surface
|
|
|
int& num_u,
|
// number of u control
|
|
|
|
|
// points
|
|
|
int& num_v,
|
// number of v control
|
|
|
|
|
// points
|
|
|
SPAposition*& ctrlpts
|
// control points array
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/sg_bs3s/sps3srtn.hxx"
|
|
Description:
|
This function creates an array of the control points for the given surface. The length of the array is
num_u*num_v. The order the control points are stored in the array is [u][v], such that
v increments more quickly. It is the responsibility of the calling application to delete the control point array.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3s/sps3srtn.hxx
|
|
Effect:
|
Read-only
|