You are here: Start » AVL.NET » Function Reference » Region » Region Relations » AVL.TestPointInRegion

AVL.TestPointInRegion

Tests whether a point lies inside a region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TestPointInRegion
(
	AvlNet.Point2D inPoint,
	AvlNet.Region inRegion,
	out bool outIsContained
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inRegionAvlNet.RegionInput region.
outIsContainedbool

Examples

TestPointInRegion run on the sample data produces the outIsContained = true

TestPointInRegion run on the sample data produces the outIsContained = false

See also