Method CopyKnotLinks
CopyKnotLinks<T>(T, int, int)
Copies knot links between two splines of the same ISplineContainer.
Declaration
public static void CopyKnotLinks<T>(this T container, int srcSplineIndex, int destSplineIndex) where T : ISplineContainer
Parameters
Type | Name | Description |
---|---|---|
T | container | The target SplineContainer. |
int | srcSplineIndex | The index of the source spline to copy from. |
int | destSplineIndex | The index of the destination spline to copy to. |
Type Parameters
Name | Description |
---|---|
T | A type implementing ISplineContainer. |
Remarks
The knot links will only be copied if both of the spline indices are valid and both splines have the same amount of knots.