Delegate Omnitree.GetBoundings<T, A1, A2>
Delegate for getting the 2D bounding box of an item.
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public delegate void GetBoundings<T, A1, A2>(T item, out A1 min1, out A1 max1, out A2 min2, out A2 max2);
Parameters
| Type | Name | Description |
|---|---|---|
| T | item | The item to get the bounding box of. |
| A1 | min1 | The minimum bound of the item along the 1 dimension. |
| A1 | max1 | The maximum bound of the item along the 1 dimension. |
| A2 | min2 | The minimum bound of the item along the 2 dimension. |
| A2 | max2 | The maximum bound of the item along the 2 dimension. |
Type Parameters
| Name | Description |
|---|---|
| T | The generic type of the item to get the bounding box of. |
| A1 | The generic type of the 1 dimension. |
| A2 | The generic type of the 2 dimension. |