Method AddSpline
AddSpline<T>(T)
Creates a new spline and adds it to the ISplineContainer.
Declaration
public static Spline AddSpline<T>(this T container) where T : ISplineContainer
Parameters
| Type | Name | Description |
|---|---|---|
| T | container | The target container. |
Returns
| Type | Description |
|---|---|
| Spline | Returns the spline that was created and added to the container. |
Type Parameters
| Name | Description |
|---|---|
| T | A type that implements ISplineContainer. |
AddSpline<T>(T, Spline)
Add a new Spline to the ISplineContainer.
Declaration
public static void AddSpline<T>(this T container, Spline spline) where T : ISplineContainer
Parameters
| Type | Name | Description |
|---|---|---|
| T | container | The target container. |
| Spline | spline | The spline to append to this container. |
Type Parameters
| Name | Description |
|---|---|
| T | A type that implements ISplineContainer. |