Points in a polygon

  • 20
  • Locked
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.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
JianQiu Hwang
Level 35 , Washington
23 May 2020, 10:14
https://stackoverflow.com/questions/8721406/how-to-determine-if-a-point-is-inside-a-2d-convex-polygon