static bool MyTest(Edge edge, int index, List<Edge> vector) { BitmapData delaunayLineBmp = edge.MakeDelaunayLineBmp(); bool notIntersecting = !(_keepOutMask.hitTest(zeroPointF, 1, delaunayLineBmp, zeroPointF, 1)); delaunayLineBmp.dispose(); return notIntersecting; }
static bool MyTest(Edge edge, int index, List <Edge> vector) { BitmapData delaunayLineBmp = edge.MakeDelaunayLineBmp(); bool notIntersecting = !(_keepOutMask.hitTest(zeroVector2, 1, delaunayLineBmp, zeroVector2, 1)); delaunayLineBmp.dispose(); return(notIntersecting); }