MapWinGeoProc:Utils wn PnPoly

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

wn_PnPoly

Syntax

 int wn_PnPoly(ref MapWinGeoProc.Globals.Vertex[] V, System.Double x, System.Double y)

Summary

Winding number test for point in polygon

Parameters

V Array of vertices in the polygon.
x X value of point being tested.
y Y value of point being tested.

Returns

The winding number (=0 only if pt is outside poly)

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to Utils

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGeoProc:Utils_wn_PnPoly"

This page has been accessed 1,090 times. This page was last modified on 26 June 2006, at 03:20.