Ejemplo n.º 1
0
            public int PointInPolygon(Vector2 point)
            {
                var p = new IntPoint(point.X, point.Y);

                return(Clipper.PointInPolygon(p, ToClipperPath()));
            }
Ejemplo n.º 2
0
            public bool IsOutside(Vector2 point)
            {
                var p = new IntPoint(point.X, point.Y);

                return(Clipper.PointInPolygon(p, ToClipperPath()) != 1);
            }