PointIntersection
Table of Contents
-
isInsidePolygon()
: bool
-
isIntersecting()
: bool
isInsidePolygon()
public
static isInsidePolygon(array<string|int, mixed> $point, array<string|int, mixed> $polygon) : bool
Parameters
-
$point
: array<string|int, mixed>
-
-
$polygon
: array<string|int, mixed>
-
-
link
-
https://www.eecs.umich.edu/courses/eecs380/HANDOUTS/PROJ2/InsidePoly.html
Return values
bool
—
isIntersecting()
public
static isIntersecting(array<string|int, mixed> $point, array<string|int, mixed> $polygon) : bool
Parameters
-
$point
: array<string|int, mixed>
-
-
$polygon
: array<string|int, mixed>
-
-
link
-
https://wrf.ecse.rpi.edu/Research/Short_Notes/pnpoly.html
Return values
bool
—