SplitRectangle
Splits the rectangle into two along the direction.
Syntax
C++
Python
def SplitRectangle(
inRectangle: Rectangle2D,
inSplitDirection: SplitDirection,
/
)
-> (
outRectangle1: Rectangle2D,
outRectangle2: Rectangle2D
)
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | ||
![]() |
inSplitDirection | SplitDirection | ||
![]() |
outRectangle1 | Rectangle2D | ||
![]() |
outRectangle2 | Rectangle2D |


