RectangleCorners


Computes the four corner points of a rectangle.

Syntax

C++
Python
 
def RectangleCorners(
	inRectangle: Rectangle2D,
	/
)
-> (
	outTopLeft: Point2D,
	outTopRight: Point2D,
	outBottomRight: Point2D,
	outBottomLeft: Point2D
)

Parameters

Name Type Default Description
Input value inRectangle Rectangle2D
Output value outTopLeft Point2D
Output value outTopRight Point2D
Output value outBottomRight Point2D
Output value outBottomLeft Point2D