functionisInsidePolygon

Return true if a point is inside or on a polygon (otherwise return false)

Information

Inputs

TypeNameDefaultDescription
Real[:,2]polygonPolygon points (x,y)
Real[2]pointPoint inside, outside or on polygon

Outputs

TypeNameDefaultDescription
Booleaninside= true, if point is inside or on polygon, otherwise point is outside of polygon

Revisions

2009/12/04 creation by E. Thomas from c code INPOLY.C (Freeware source code http://www.visibone.com/inpoly/inpoly.c)