Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region » Region Relations » TestPointInRegion

TestPointInRegion


Header: AVL.h
Namespace: avl
Module: FoundationLite

Tests whether a point lies inside a region.

Syntax

C++
C#
 
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