Point in polygon algortim using location class in android? -


i've a set of location forms closed path (similar polygon). there possible way check if latitude , longitude inside closed path?

you need ray-casting algorithm. did this: ;-)

point in polygon algorithm

and little background knowledge:

https://en.wikipedia.org/wiki/point_in_polygon


Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -