You are here: Start » AVL.NET » AVL.TestPointInRegion Method

AVL.TestPointInRegion Method

Tests whether a point lies inside a region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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