Back to FabImage Library website

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

RectangleCorners


Header: FIL.h
Namespace: fil
Module: FoundationLite

Computes the four corner points of a rectangle.

Syntax

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

Parameters

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