You are here: Start » AVL.NET » AVS.TestPointInPolygon Method

AVS.TestPointInPolygon Method

Tests whether a point lies inside a polygon.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void TestPointInPolygon
(
	AvlNet.Point2D inPoint,
	AvlNet.Path inPolygon,
	out bool outIsContained
)

Parameters

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

See also