Exemplo n.º 1
0
 public static double GetDistance(GeometryPoint point1, GeometryPoint point2)
 {
     if (point1 == null)
     {
         throw new ArgumentNullException("point1");
     }
     if (point2 == null)
     {
         throw new ArgumentNullException("point2");
     }
     return(point1.Distance(point2).Value);
 }