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

FIL.TestPointArrayInPolygon

Tests which points lie inside a polygon.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<FilNet.Point2D>Points which will be tested.
inPolygonFilNet.PathPolygon against which the points will be tested.
outIsContainedArraySystem.Collections.Generic.IList<bool>
outPointsSystem.Collections.Generic.IList<FilNet.Point2D>Points that are contained.
outAreAllContainedFilNet.NullableValue<bool> Can be null to skip this parameter calculation.

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