예제 #1
0
 public static bool GetIsIntersects(GeographyPoint point, GeographyPolygon polygon)
 {
     if (point == null)
     {
         throw new ArgumentNullException("point");
     }
     if (polygon == null)
     {
         throw new ArgumentNullException("polygon");
     }
     return(point.Intersects(polygon).Value);
 }