Back to Aurora Vision Library Lite websiteYou are here:
Start »
Region »
Region Relations »
TestPointInRegion
Header: |
AVL.h
|
Namespace: |
avl |
Tests whether a point lies inside a region.
Syntax
void avl::TestPointInRegion
(
const avl::Point2D& inPoint,
const avl::Region& inRegion,
bool& outIsContained
)
Parameters
|
Name |
Type |
Default |
Description |
|
inPoint |
const Point2D& |
|
|
|
inRegion |
const Region& |
|
Input region |
|
outIsContained |
bool& |
|
|
Examples
|
|
TestPointInRegion run on the sample data produces the outIsContained = true |
TestPointInRegion run on the sample data produces the outIsContained = false |