XLatLonShapeBoundingBoxQuery(String field, XLatLonShape.QueryRelation queryRelation, double minLat, double maxLat, double minLon, double maxLon) { super(field, queryRelation); Rectangle rectangle = new Rectangle(minLat, maxLat, minLon, maxLon); this.rectangle2D = XRectangle2D.create(rectangle); }