jrhicks
jrhicks

Reputation: 14997

Find coordinates inside polygon using Ruby

How can I determine if coordinate point lies within a polygon using Ruby?

Upvotes: 2

Views: 2425

Answers (1)

tokland
tokland

Reputation: 67850

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.

Upvotes: 6

Related Questions