You are here: Start » AVL.NET » AVL.SplitRectangle
Splits the rectangle into two along the direction.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown inSplitDirection |