NurbsSurface.getData Method
Parent Object:
NurbsSurfaceDefined in namespace "adsk::core" and the header file is <Core/Geometry/NurbsSurface.h>
Description
Gets the data that defines the NURBS surface.
Syntax
"nurbsSurface_var" is a variable referencing a NurbsSurface object.
(returnValue, degreeU, degreeV, controlPointCountU, controlPointCountV, controlPoints, knotsU, knotsV, weights, propertiesU, propertiesV) = nurbsSurface_var.getData()
|
#include <Core/Geometry/NurbsSurface.h
// Declare the output arguments. integer degreeU; integer degreeV; integer controlPointCountU; integer controlPointCountV; Point3D[] controlPoints; double[] knotsU; double[] knotsV; double[] weights; NurbsSurfaceProperties propertiesU; NurbsSurfaceProperties propertiesV; boolean returnValue = nurbsSurface_var->getData(degreeU, degreeV, controlPointCountU, controlPointCountV, controlPoints, knotsU, knotsV, weights, propertiesU, propertiesV);
|
Return Value
boolean |
Returns true if successful. |
Parameters
degreeU |
integer |
The output degree in the U direction. |
degreeV |
integer |
The output degree in the V direction. |
controlPointCountU |
integer |
The output number of control points in the U direction. |
controlPointCountV |
integer |
The output number of control points in the V direction. |
controlPoints |
Point3D[] |
An output array of surface control points. |
knotsU |
double[] |
The output knot vector for the U direction. |
knotsV |
double[] |
The output knot vector for the V direction. |
weights |
double[] |
An output array of weights that corresponds to the control points of the surface. |
propertiesU |
NurbsSurfaceProperties |
The output properties (NurbsSurfaceProperties) of the surface in the U direction. |
propertiesV |
NurbsSurfaceProperties |
The output properties (NurbsSurfaceProperties) of the surface in the V direction. |
Version
Introduced in version August 2014