Method LinkKnots
LinkKnots<T>(T, SplineKnotIndex, SplineKnotIndex)
Links two knots in an ISplineContainer. The two knots can be on different splines, but both must be in the referenced SplineContainer. If these knots are linked to other knots, all existing links are kept and updated.
Declaration
public static void LinkKnots<T>(this T container, SplineKnotIndex knotA, SplineKnotIndex knotB) where T : ISplineContainer
Parameters
Type | Name | Description |
---|---|---|
T | container | The target SplineContainer. |
SplineKnotIndex | knotA | The first knot to link. |
SplineKnotIndex | knotB | The second knot to link. |
Type Parameters
Name | Description |
---|---|
T | A type that implements ISplineContainer. |