Field-Map Scripting

4.10.18 PointInPolygon

PointInPolygon function


Prototype:

function PointInPolygon(const X_,Y_ :double; const IncludingPolygonBorder_ :boolean) :boolean;

Description:


Syntax:

variable:= polygon.PointInPolygon(X ,Y, IncludingPolygonBorder);


Part

Description


variable

A variable declared as a boolean


polygon

A reference to an instance of a TPolygonWrapper


X



Y



IncludingPolygonBorder


Return value:




See also:

Create; Free; ID; AddRing; AddPointToRing; LoadFromVarArray; AddPolygon; Ring; RingRotation; RingCount; MainRingCount; PointCount; TotalPointCount; PointX; PointY; Area; AreaOfSimplePolygons; PointInPolygon; CreateCircle; CoordinatesAsText; CreateSamplePoints; CreateCentroids