You are here: Start » AVL.NET » AVS.SplitRectangle Method

AVS.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
inRectangleAvlNet.Rectangle2D
inSplitDirectionAvlNet.SplitDirection
outRectangle1AvlNet.Rectangle2D
outRectangle2AvlNet.Rectangle2D

See also