File: point.in.polygon.R

package info (click to toggle)
r-cran-maptools 1%3A0.7-34-2
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 2,184 kB
  • ctags: 232
  • sloc: ansic: 3,014; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright 2004 Edzer Pebesma (copied from sp package)

"mt.point.in.polygon" <-
function(point.x, point.y, pol.x, pol.y) {
	.Call("R_point_in_polygon_mt", 
		as.numeric(point.x),
		as.numeric(point.y),
		as.numeric(pol.x),
		as.numeric(pol.y) 
		, PACKAGE = "maptools"
		)
}