☰
Debian Codegraph
@
1:2.2-1+dfsg-1
/
/
tests
/
point.in.polygon.R
☽
☼
tests/point.in.polygon.R
code
plain
raw
GPL-2+
© 2008-2016 Edzer J. Pebesma, Roger Bivand and others
debian/copyright
1
options("rgdal_show_exportToProj4_warnings"="none")
2
library(sp)
3
4
# open polygon:
5
print(point.in.polygon(1:10,1:10,c(3,5,5,3),c(3,3,5,5)))
6
# closed polygon:
7
print(point.in.polygon(1:10,rep(4,10),c(3,5,5,3,3),c(3,3,5,5,3)))