WindingNumber: Winding Number

Description Usage Arguments

Description

Calculates the winding number for a point and polygon. Returns 0 when the point is outside the polygon.

Usage

1
WindingNumber(pointX, pointY, polyX, polyY)

Arguments

pointX

x-coordinate of a point

pointY

y-coordinate of a point

polyX

x-coordinates of the polygon

polyY

y-coordinates of thepolygon


SymbolixAU/spatial.data.table documentation built on May 9, 2019, 3:30 p.m.