2020 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
C NurbsSurfaceData(NurbsSurfaceData) None Copy constructor.
Name Return Type Description
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.
M Dispose() None Releases all resources used by the
M GetControlPoints() IList<XYZ> Get the list of control points.
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 GetWeights() IList<double> Get the list of weights.
M IsValid() bool Check if the object contains a valid NurbsSurfaceData.
Name Return Type Description
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 bool 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.