Back to Aurora Vision Library Lite website

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

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
Input value inPoint const Point2D&
Input value inRegion const Region& Input region
Output value outIsContained bool&

Examples

TestPointInRegion run on the sample data produces the outIsContained = true

TestPointInRegion run on the sample data produces the outIsContained = false