I was wondering if there is any sort of Polygon.double because I need to input two double [] arrays and test whether another point is contained in the polygon. I saw another post about Path2D.double but it doesn't seem to 开发者_开发技巧have any similar methods like "contains" in Polygon.
There is a contains(double x, double y) in Polygon and Path2D.Double.
EDIT:
Also check out this post.
精彩评论