You are here: Start » AVL.NET » Function Reference » Path » Polygon Relations » AVL.TestPointArrayInPolygon

AVL.TestPointArrayInPolygon

Tests which points lie inside a polygon.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TestPointArrayInPolygon
(
	IList<AvlNet.Point2D> inPoints,
	AvlNet.Path inPolygon,
	IList<bool> outIsContainedArray,
	IList<AvlNet.Point2D> outPoints,
	out bool outAreAllContained
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Points which will be tested.
inPolygonAvlNet.PathPolygon against which the points will be tested.
outIsContainedArraySystem.Collections.Generic.IList<bool>
outPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Points that are contained.
outAreAllContainedbool

Errors

List of possible exceptions:

Error type Description
DomainError Empty polygon on input in TestPointArrayInPolygon.
DomainError Open path on input in TestPointArrayInPolygon.

Function Overrides

See also