2025 Class
Changes 2
C

NurbsSurfaceData

Description:
A class used to represent the definition of a NURBS surface.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.NurbsSurfaceData
public class NurbsSurfaceData : IDisposable
Name Return Type Description Inherited From
C NurbsSurfaceData(NurbsSurfaceData) None Copy constructor.
Name Return Type Description Inherited From
M Create(Int32, Int32, IList<Double>, IList<Double>, IList<XYZ>, IList<Double>, Boolean) NurbsSurfaceData 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.
M Dispose() None Releases all resources used by the NurbsSurfaceData
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetControlPoints() IList<XYZ> Get the list of control points.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetKnotsU() IList<Double> Get the list of knots in the u-direction.
M GetKnotsV() IList<Double> Get the list of knots in the v-direction.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetWeights() IList<Double> Get the list of weights.
M IsValid() Boolean Check if the object contains a valid NurbsSurfaceData.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P DegreeU int The degree of the spline in the u-direction.
P DegreeV int The degree of the spline in the v-direction.
P IsRational bool 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.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P ReverseOrientation bool 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.