Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » 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 | |
---|---|---|---|---|
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
outTopLeft | Point2D& | ||
![]() |
outTopRight | Point2D& | ||
![]() |
outBottomRight | Point2D& | ||
![]() |
outBottomLeft | Point2D& |