- Joined
- Nov 17, 2014
- Messages
- 4,906
- Thread Author
- #1
Currently Area.Polygonal overrides equals by comparing what it looks like the plane, and the polygon of both areas. However, java.awt.Polygon does not override equals and thus the comparison is faulty.
Found an equals method for polygons that should be working fine after a quick google search Tests two polygons for equality. If both are null this method returns true. : Shape « 2D Graphics GUI « Java
@Cloud
Found an equals method for polygons that should be working fine after a quick google search Tests two polygons for equality. If both are null this method returns true. : Shape « 2D Graphics GUI « Java
@Cloud