Find coordinates inside polygon using Ruby
How can I dete开发者_Python百科rmine if coordinate point lies within a polygon using Ruby?
Jake Scruggs has an entry on the matter here. The theory behind is the classic odd/even ray intersection, and it has been tackled at SO at least here.
精彩评论