API Documentation > Surface geometry > Object ProBsplinesrfdata > Function ProBsplinesrfdataGet
Function ProBsplinesrfdataGet
Description
Retrieves information from the B-spline surface data structure.
NOTE:
This function ignores the output arguments with NULL pointers.
Synopsis
#include <ProSurfacedata.h>
ProBsplinesrfdataGet
(
ProSurfaceshapedata* p_surf_shape
/* (In)
The B-spline surface data structure.
*/
int deg[2]
/* (Out)
The basis function's degrees (in the U and V directions).
*/
double** p_u_par_arr
/* (Out)
The pointer to a ProArray of knots on the parameter line, U.
*/
double** p_v_par_arr
/* (Out)
The pointer to a ProArray of knots on the parameter line, V.
*/
double** p_wghts_arr
/* (Out)
In the case of rational B-splines, this is the pointer to a ProArray of the same dimensions as the array of c_point_arr. Otherwise, this is NULL.
*/
ProVector** p_c_point_arr
/* (Out)
The ProArray of control points.
*/
int* p_num_u
/* (Out)
The size in U.
*/
int* p_num_v
/* (Out)
The size in V.
*/
int* p_num_c_point
/* (Out)
The number of control points.
*/
)
Returns
The function successfully retrieved the information.
The input argument is invalid.
Sample Code References
Was this helpful?