Creates a Hermite spline with specified tangency at its endpoints.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static HermiteSpline Create(
IList<XYZ> controlPoints,
bool periodic,
HermiteSplineTangents tangents
)
Parameters
- controlPoints IList<XYZ>
-
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
Reference