Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Relations » TestPointInRegion
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Tests whether a point lies inside a region.
Syntax
C++
C#
void fil::TestPointInRegion ( const fil::Point2D& inPoint, const fil::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 |