HermiteSplineCreate(IListXYZ, Boolean, HermiteSplineTangents) Method |
Creates a Hermite spline with specified tangency at its endpoints.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static HermiteSpline Create(
IList<XYZ> controlPoints,
bool periodic,
HermiteSplineTangents tangents
)
Public Shared Function Create (
controlPoints As IList(Of XYZ),
periodic As Boolean,
tangents As HermiteSplineTangents
) As HermiteSpline
public:
static HermiteSpline^ Create(
IList<XYZ^>^ controlPoints,
bool periodic,
HermiteSplineTangents^ tangents
)
static member Create :
controlPoints : IList<XYZ> *
periodic : bool *
tangents : HermiteSplineTangents -> HermiteSpline
Parameters
- controlPoints IListXYZ
-
The control points of the Hermite spline.
- periodic Boolean
-
True if the Hermite spline is to be periodic, false otherwise.
- tangents HermiteSplineTangents
-
The object which indicates tangency at the start, the end, or both ends of the curve.
Return Value
HermiteSpline
The new HermiteSpline object.
Exceptions
See Also