NurbsSurfaceData
Description:
A class used to represent the definition of a NURBS surface.
A class used to represent the definition of a NURBS surface.
public class NurbsSurfaceData : IDisposable
| Name | Return Type | Description |
|---|---|---|
| NurbsSurfaceData(NurbsSurfaceData) | None | Copy constructor. |
| Name | Return Type | Description |
|---|---|---|
| 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. |
| Dispose() | None | Releases all resources used by the |
| GetControlPoints() | IList<XYZ> | Get the list of control points. |
| GetKnotsU() | IList<double> | Get the list of knots in the u-direction. |
| GetKnotsV() | IList<double> | Get the list of knots in the v-direction. |
| GetWeights() | IList<double> | Get the list of weights. |
| IsValid() | bool | Check if the object contains a valid NurbsSurfaceData. |
| Name | Return Type | Description |
|---|---|---|
| DegreeU | int | The degree of the spline in the u-direction. |
| DegreeV | int | The degree of the spline in the v-direction. |
| 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. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| 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. |