Home > hfrc > matlab > utility > isinpoly.m

isinpoly

PURPOSE ^

ISIN = ISINPOLY(X,Y,XP,YP) Finds whether points with

SYNOPSIS ^

function isin = isinpoly(x,y,xp,yp)

DESCRIPTION ^

 ISIN = ISINPOLY(X,Y,XP,YP)   Finds whether points with
           coordinates X and Y are inside or outside of
           a polygon with vertices XP, YP.
           Returns matrix ISIN of the same size as X and Y
           with 0 for points outside a polygon, 1 for
           inside points and  0.5 for points belonging
           to a polygon XP, YP itself.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003