Back to Adaptive Vision Library website

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

RectangleCorners


Header:AVL.h
Namespace:avl

Computes the four corner points of a rectangle.

Syntax

C++
C#
 
void avl::RectangleCorners
(
	const avl::Rectangle2D& inRectangle,
	avl::Point2D& outTopLeft,
	avl::Point2D& outTopRight,
	avl::Point2D& outBottomRight,
	avl::Point2D& outBottomLeft
)

Parameters

Name Type Default Description
inRectangle const Rectangle2D&
outTopLeft Point2D&
outTopRight Point2D&
outBottomRight Point2D&
outBottomLeft Point2D&