Method SplitSplineOnKnot
SplitSplineOnKnot(ISplineContainer, SplineKnotIndex)
Splits a spline in a SplineContainer into two splines at a specified knot.
Declaration
public static SplineKnotIndex SplitSplineOnKnot(this ISplineContainer container, SplineKnotIndex knotInfo)
Parameters
Type | Name | Description |
---|---|---|
ISplineContainer | container | The target SplineContainer. |
SplineKnotIndex | knotInfo | The SplineKnotIndex of the spline to split. |
Returns
Type | Description |
---|---|
SplineKnotIndex | The |
Exceptions
Type | Condition |
---|---|
IndexOutOfRangeException | An exception is thrown when the knot belongs to a spline not contained by the provided container or when the knot index is out of range. |