Back to FabImage Library website

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

RectangleCharacteristicPoint


Header: FIL.h
Namespace: fil
Module: FoundationLite

Returns a characteristic point (e.g. the top-left) of the input rectangle.

Syntax

C++
C#
 
void fil::RectangleCharacteristicPoint
(
	const fil::Rectangle2D& inRectangle,
	const fil::Anchor2D::Type inPointAnchor,
	fil::Point2D& outPoint
)

Parameters

Name Type Default Description
Input value inRectangle const Rectangle2D&
Input value inPointAnchor const Anchor2D::Type TopLeft
Output value outPoint Point2D&

Examples

RectangleCharacteristicPoint performed on a rectangle with inPointAnchor = TopLeft.