/// <summary>
 ///     A filter allowing to include hits that only fall within a polygon of points.
 /// </summary>
 /// <remarks>
 ///     Only the exterior ring of the polygon is used
 /// </remarks>
 public static FilterContainer GeoPolygon <T>(
     this FilterDescriptor <T> filterDescriptor,
     string field,
     IPolygon polygon) where T : class =>
 filterDescriptor.GeoPolygon(field, GetCoordinates(polygon.ExteriorRing));
 /// <summary>
 ///     A filter allowing to include hits that only fall within a polygon of points.
 /// </summary>
 /// <remarks>
 ///     Only the exterior ring of the polygon is used
 /// </remarks>
 public static FilterContainer GeoPolygon <T>(
     this FilterDescriptor <T> filterDescriptor,
     Expression <Func <T, object> > expression,
     IPolygon polygon) where T : class =>
 filterDescriptor.GeoPolygon(expression, GetCoordinates(polygon.ExteriorRing));