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

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

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