NurbsSurface.create Method
Parent Object:
NurbsSurfaceDefined in namespace "adsk::core" and the header file is <Core/Geometry/NurbsSurface.h>
Description
Creates a transient NURBS surface object.
Syntax
This is a static method.
returnValue = adsk.core.NurbsSurface.create(degreeU, degreeV, controlPointCountU, controlPointCountV, controlPoints, knotsU, knotsV, weights, propertiesU, propertiesV)
|
This is a static method.
#include <Core/Geometry/NurbsSurface.h>
returnValue = adsk::core::NurbsSurface::create(degreeU, degreeV, controlPointCountU, controlPointCountV, controlPoints, knotsU, knotsV, weights, propertiesU, propertiesV);
|
Return Value
NurbsSurface |
Returns the new NurbsSurface object or null if the creation failed. |
Parameters
degreeU |
integer |
The degree in the U direction. |
degreeV |
integer |
The degree in the V direction. |
controlPointCountU |
integer |
The number of control points in the U direction. |
controlPointCountV |
integer |
The number of control points in the V direction. |
controlPoints |
Point3D[] |
An array of surface control points. The length of this array must be controlPointCountU * controlPointCountV. |
knotsU |
double[] |
The knot vector for the U direction. |
knotsV |
double[] |
The knot vector for the V direction. |
weights |
double[] |
An array of weights that corresponds to the control points of the surface. |
propertiesU |
NurbsSurfaceProperties |
The properties (NurbsSurfaceProperties) of the surface in the U direction. |
propertiesV |
NurbsSurfaceProperties |
The properties (NurbsSurfaceProperties) of the surface in the V direction. |
Version
Introduced in version August 2014