You are here: Start » AVL.NET » Invoke.TestPointInPolygon

Invoke.TestPointInPolygon

Tests whether a point lies inside a polygon.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void TestPointInPolygon
(
	Avl.Point2D inPoint,
	Avl.Path inPolygon,
	out bool outIsContained
)

Parameters

Name Type Range Default Description
inPointAvl.Point2DPoint the position of which will be tested.
inPolygonAvl.PathPolygon against which the position will be tested.
outIsContainedboolTrue if point lies inside the polygon, false otherwise.

See also