PtInPolygon

Graphics32

PtInPolygon

function PtInPolygon(const Pt: TFixedPoint; const Points: TArrayOfFixedPoint): Boolean;

Description

Returns true if Pt is a coordinate within the the polygon region specified by an array of fixed-point coordinates.

See Also

TPolygon32.ContainsPoint, Point Types, TArrayOfFixedPoint, TFixedPoint