You are here: Start » AVL.NET » AVL.SplitRectangle Method
AVL.SplitRectangle Method
Splits the rectangle into two along the direction.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SplitRectangle( AvlNet.Rectangle2D inRectangle, AvlNet.SplitDirection inSplitDirection, out AvlNet.Rectangle2D outRectangle1, out AvlNet.Rectangle2D outRectangle2 )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inRectangle | AvlNet.Rectangle2D | |||
![]() | inSplitDirection | AvlNet.SplitDirection | |||
![]() | outRectangle1 | AvlNet.Rectangle2D | |||
![]() | outRectangle2 | AvlNet.Rectangle2D |
Errors
| Error type | Description |
|---|---|
| DomainError | Unknown inSplitDirection |


