NurbsSurfaceData
A class used to represent the definition of a NURBS surface.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.NurbsSurfaceData
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class NurbsSurfaceData : IDisposableThe NurbsSurfaceData type exposes the following members.
Constructors
Name
Description
Public Method
NurbsSurfaceData
Copy constructor.
Properties
Name
Description
Public Property
DegreeU
The degree of the spline in the u-direction.
Public Property
DegreeV
The degree of the spline in the v-direction.
Public Property
IsRational
Tells if the spline is rational or not. If it is true (rational), then the NURBS is a piecewise rational polynomial function. If it is false (non-rational), then the NURBS is a piecewise polynomial function.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
ReverseOrientation
If true, the surface’s orientation is opposite to the canonical parametric orientation, otherwise it is the same. The canonical parametric orientation is a counter-clockwise sense of rotation in the uv-parameter plane. Extrinsically, the oriented normal vector for the canonical parametric orientation points in the direction of the cross product dS/du x dS/dv, which S(u, v) is the parameterized surface.
Methods
Name
Description
Public Method
Static Member
Create
Construct NurbsSurfaceData based on NURBS surface data, where the weights are supplied. The NURBS surface will be (piecewise) polynomial if all the weights are equal, rational if not. Note: A rational polynomial is a quotient of two polynomials; this includes a polynomial, which can be thought of as a quotient with denominator equal to 1.
Public Method
Dispose
Releases all resources used by the NurbsSurfaceData
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetControlPoints
Get the list of control points.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetKnotsU
Get the list of knots in the u-direction.
Public Method
GetKnotsV
Get the list of knots in the v-direction.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
GetWeights
Get the list of weights.
Public Method
IsValid
Check if the object contains a valid NurbsSurfaceData.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)