Suppose you're given a polygon defined by the coordinates of its vertices.
The edges of the polygon don't intersect.
You must implement the isPointInPolygon(Point point, List<Point> polygon) method, which will check
whether the passed point is in the polygon.
Points in a polygon
- 20
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
JianQiu Hwang
23 May 2020, 10:14
https://stackoverflow.com/questions/8721406/how-to-determine-if-a-point-is-inside-a-2d-convex-polygon
0