File: point.in.polygon.R

package info (click to toggle)
r-cran-maptools 1%3A1.1-6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,984 kB
  • sloc: ansic: 3,025; makefile: 5; sh: 4
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"
		)
}