Back to Adaptive Vision Library website


You are here: Start » Function Reference » Geometry 2D Relations » TestPointInBox
Tests whether a point lies in a box.
Syntax
C++
C#
void avl::TestPointInBox ( const avl::Point2D& inPoint, const avl::Box& inBox, bool& outIsContained )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoint | const Point2D& | ||
![]() |
inBox | const Box& | ||
![]() |
outIsContained | bool& |
Examples

TestPointInBox performed on the sample box and point. outIsContained = True.

TestPointInBox performed on the sample box and point. outIsContained = False.


