/// <summary> /// A filter allowing to filter hits based on a point location using a bounding box /// </summary> public static FilterContainer GeoBoundingBox <T>( this FilterDescriptor <T> filterDescriptor, string field, Envelope envelope, GeoExecution?geoExecution = null) where T : class => filterDescriptor.GeoBoundingBox( field, envelope.MinX, envelope.MaxY, envelope.MaxX, envelope.MinY, geoExecution);
/// <summary> /// A filter allowing to filter hits based on a point location, using a bounding box /// </summary> public static FilterContainer GeoBoundingBox <T>( this FilterDescriptor <T> filterDescriptor, Expression <Func <T, object> > expression, Envelope envelope, GeoExecution?geoExecution = null) where T : class => filterDescriptor.GeoBoundingBox( expression, envelope.MinX, envelope.MaxY, envelope.MaxX, envelope.MinY, geoExecution);