You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Features » AVL.RectangleCorners

AVL.RectangleCorners

Computes the four corner points of a rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RectangleCorners
(
	AvlNet.Rectangle2D inRectangle,
	out AvlNet.Point2D outTopLeft,
	out AvlNet.Point2D outTopRight,
	out AvlNet.Point2D outBottomRight,
	out AvlNet.Point2D outBottomLeft
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
outTopLeftAvlNet.Point2D
outTopRightAvlNet.Point2D
outBottomRightAvlNet.Point2D
outBottomLeftAvlNet.Point2D

See also