AddNurbsSurfaceMesh (X3DObject)
Description
This method is obsolete and has been replaced by X3DObject.AddNurbsSurfaceMesh2.
Creates an empty NurbsSurfaceMesh object and parents it under this object.
Scripting Syntax
X3DObject.AddNurbsSurfaceMesh( Count, ControlPoints, [UKnots], [VKnots], [UClosed], [VClosed], [UDegree], [VDegree], [UParam], [VParam], [NurbsFormat], [Name] )
C# Syntax
X3DObject X3DObject.AddNurbsSurfaceMesh( Object in_Count, Object in_ControlPoints, Object in_uKnots, Object in_vKnots, Object in_bUClosed, Object in_bVClosed, Object in_lUDegree, Object in_lVDegree, Object in_uParameterization, Object in_vParameterization, siNurbsFormat in_eNurbsFormat, String in_bstrName );Parameters
|
Parameter |
Type |
Description |
|
Count |
2D Array |
Number of control vertex, uknots, vknots per surface |
|
ControlPoints |
1D or 3D Array |
The control points used for creating the nurbs surface. The control points can be stored in a 1-dimensional array or in a 3-dimensional matrix (UxVx4) of x,y,z,w values. The 1-dimensional array should contain the number of points in U and V at the beginning followed by a sequence of x,y,z,w values (e.g. {U,V,Xo,Yo,Zo,...X(uv-1),Y(uv-1),Z(uv-1),W(uv-1)}). |
|
UKnots |
A vector of knot values in the U direction. Default Value: Knots derived from control points. |
|
|
VKnots |
A vector of knot values in the V direction. Default Value: Knots derived from control points. |
|
|
UClosed |
Specifies whether the nurbs surface is closed or not in U direction. Default Value: False |
|
|
VClosed |
Specifies whether the nurbs surface is closed or not in V direction. Default Value: False |
|
|
UDegree |
Degree of the nurbs surface in U direction. Default Value: 3 |
|
|
VDegree |
Degree of the nurbs surface in V direction. Default Value: 3 |
|
|
UParam |
The parameterization factor of the nurbs surface in U direction. Default Value: siNonUniformParameterization |
|
|
VParam |
The parameterization factor of the nurbs surface in V direction. Default Value: siNonUniformParameterization |
|
|
NurbsFormat |
Specifies how the data is formatted. Default Value: siSINurbs |
|
|
Name |
Name of object |
Return Value
See Also
Examples
• See X3DObject.AddNurbsSurfaceMesh.1.vbs
Autodesk Softimage 2011