Back to FabImage Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » RectangleCorners

RectangleCorners
Header: | FIL.h |
---|---|
Namespace: | fil |
Computes the four corner points of a rectangle.
Syntax
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& |