 		{
 			if (polygon.length == 0)
 				return false;
+			//return polygonOverlapsPoint2(polygon, x, y);
+
 			var riCount:int = 0; // number of ray intersections
 			var riIndex:int; // ray intersection index
 			var segSide:int;

				return true;
			a = polygon1[0];
			return polygonOverlapsPoint(polygon2, a.x, a.y);
		}
		
		/**
		 * polygonIntersectsLine
		 * @param polygon An array of objects representing vertices, each having x and y properties.


package weave.utils
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.Graphics;
	import flash.display.Shape;
	import flash.geom.Matrix;
	import flash.geom.Point;
	import flash.utils.flash_proxy;
	
	import mx.core.Application;
	import mx.core.mx_internal;
	import mx.utils.ObjectUtil;
	
	import weave.api.primitives.IBounds2D;
	import weave.core.StageUtils;
	import weave.primitives.Bounds2D;

	/**
