Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » RectangleCharacteristicPoint
![](../../img/icon/RectangleFeature.png)
RectangleCharacteristicPoint
Header: | AVL.h |
---|---|
Namespace: | avl |
Returns a characteristic point (e.g. the top-left) of the input rectangle.
Syntax
void avl::RectangleCharacteristicPoint ( const avl::Rectangle2D& inRectangle, const avl::Anchor2D::Type inPointAnchor, avl::Point2D& outPoint )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
inPointAnchor | const Anchor2D::Type | TopLeft | |
![]() |
outPoint | Point2D& |
Examples
![]() |
RectangleCharacteristicPoint performed on a rectangle with inPointAnchor = TopLeft.