[Overview][Types][Classes][Procedures and functions][Index] |
Determines if the specified point is inside the vertices for the specified polygon.
Source position: lazregions.pas line 107
function IsPointInPolygon( |
AX: Integer; |
AY: Integer; |
const APolygon: array of TPoint |
):Boolean; |
AX |
|
Horizontal coordinate for the point. |
AY |
|
Vertical coordinate for the point. |
APolygon |
|
Array with the TPoint values that define the vertices for the polygon. |
True when the specified point is located within the polygon using the specified vertices.
The function will return True if the point at AX, AY is inside the specified polygon. Returns False if it is not.
Original C code: http://www.visibone.com/inpoly/inpoly.c.txt .
Translated from C to Pascal by: Felipe Monteiro de Carvalho.
|
Indicates if a point with the specified coordinates is within the vertices for the polygonal region. |
Version 3.2 | Generated 2024-02-25 | Home |