Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » RectangleCharacteristicPoints
RectangleCharacteristicPoints
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes rectangle's characteristic points.
Syntax
void avl::RectangleCharacteristicPoints ( const avl::Rectangle2D& inRectangle, atl::Optional<avl::Point2D&> outTopLeft = atl::NIL, atl::Optional<avl::Point2D&> outTopCenter = atl::NIL, atl::Optional<avl::Point2D&> outTopRight = atl::NIL, atl::Optional<avl::Point2D&> outMiddleLeft = atl::NIL, atl::Optional<avl::Point2D&> outMiddleCenter = atl::NIL, atl::Optional<avl::Point2D&> outMiddleRight = atl::NIL, atl::Optional<avl::Point2D&> outBottomLeft = atl::NIL, atl::Optional<avl::Point2D&> outBottomCenter = atl::NIL, atl::Optional<avl::Point2D&> outBottomRight = atl::NIL, atl::Optional<atl::Array<avl::Point2D>&> outCorners = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRectangle | const Rectangle2D& | |||
outTopLeft | Optional<Point2D&> | NIL | ||
outTopCenter | Optional<Point2D&> | NIL | ||
outTopRight | Optional<Point2D&> | NIL | ||
outMiddleLeft | Optional<Point2D&> | NIL | ||
outMiddleCenter | Optional<Point2D&> | NIL | ||
outMiddleRight | Optional<Point2D&> | NIL | ||
outBottomLeft | Optional<Point2D&> | NIL | ||
outBottomCenter | Optional<Point2D&> | NIL | ||
outBottomRight | Optional<Point2D&> | NIL | ||
outCorners | Optional<Array<Point2D>&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outTopLeft, outTopCenter, outTopRight, outMiddleLeft, outMiddleCenter, outMiddleRight, outBottomLeft, outBottomCenter, outBottomRight, outCorners.
Read more about Optional Outputs.