Method GetElements
GetElements<T>(IReadOnlyList<SplineInfo>, ICollection<T>)
Gets all the elements of the current selection, filtered by target splines. Elements are added to the given collection.
Declaration
public static void GetElements<T>(IReadOnlyList<SplineInfo> targets, ICollection<T> results) where T : ISelectableElement
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<SplineInfo> | targets | The splines to consider when looking at selected elements. |
| ICollection<T> | results | The collection to fill with spline elements from the selection. |
Type Parameters
| Name | Description |
|---|---|
| T |
GetElements<T>(SplineInfo, ICollection<T>)
Gets all the elements of the current selection, from a single spline target. Elements are added to the given collection.
Declaration
public static void GetElements<T>(SplineInfo target, ICollection<T> results) where T : ISelectableElement
Parameters
| Type | Name | Description |
|---|---|---|
| SplineInfo | target | The spline to consider when looking at selected elements. |
| ICollection<T> | results | The collection to fill with spline elements from the selection. |
Type Parameters
| Name | Description |
|---|---|
| T |