static bool IsInside(PolyNode node, Vector2 point) { foreach (PolyNode childNode in node.Childs) { var polygon = new Polygon(childNode.Contour); if (polygon.Contains(point)) return false; } return new Polygon(node.Contour).Contains(point); }