Determine if point is in set of coordinates in java
问题 I have searched for an answer to this question, but I cannot seem to find a solution. What I need is I have a set of coordinates (of unknown length in the beginning) and I need to determine if a point resides inside of the polygon determined by this coordinate. However, I cannot use the AWT (as I originally thought I could), as the coordinates can range anywhere in the US. I think I need to use a for-loop , with a series of less than , greater than checks. Am I on the right path, or is there