Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/geo_ruby/simple_features/linear_ring.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def kml_representation(options = {})
# Does this linear string contain the given point? We use the
# algorithm described here:
#
# http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
# https://wrf.ecse.rpi.edu/Research/Short_Notes/pnpoly.html
def contains_point?(point)
x, y = point.x, point.y
tuples = @points.zip(@points[1..-1] + [@points[0]])
Expand Down