Example #1
0
 /// <summary>
 /// Returns intersection points with the given polygon.
 /// </summary>
 /// <param name="polygon">The polygon</param>
 /// <param name="latitude1"></param>
 /// <param name="longitude1"></param>
 /// <param name="latitude2"></param>
 /// <param name="longitude2"></param>
 /// <returns></returns>
 public static IEnumerable <Coordinate> Intersect(this Polygon polygon, float latitude1, float longitude1,
                                                  float latitude2, float longitude2)
 {
     return(Intersections.Intersect(polygon, latitude1, longitude1, latitude2, longitude2));
 }