Back to Aurora Vision Library Lite websiteYou are here:
Start »
Geometry 2D »
Geometry 2D Relations »
TestPointInRectangle
Header: |
AVL.h
|
Namespace: |
avl |
Tests whether a point lies in a rectangle.
Syntax
void avl::TestPointInRectangle
(
const avl::Point2D& inPoint,
const avl::Rectangle2D& inRectangle,
bool& outIsContained
)
Parameters
Examples
TestPointInRectangle performed on the sample rectangle and point. outIsContained = True.
TestPointInRectangle performed on the sample rectangle and point. outIsContained = False.