A simple geographical region bounded by two latitude lines, and two longitude lines, i.e., a
"rectangle". It's not really a rectangle, of course, because longitude lines are not really
parallel.
Intended for use in a geo-containment predicate filter.
Determines whether the given GeoPt value lies within this geographic region. If the
point lies on the border of the region it is considered to be contained.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["`Query.GeoRegion.Rectangle` defines a geographic area bounded by two latitude lines and two longitude lines, forming a \"rectangle\" shape."],["This class is designed for use in geo-containment filters, to determine if a given point lies within the defined geographic region."],["The `Rectangle` constructor requires two `GeoPt` parameters, `southwest` and `northeast`, to define the boundaries of the rectangular region."],["The `contains(GeoPt point)` method checks if a specified `GeoPt` lies within the defined `Rectangle` region, including points on the border."],["Methods such as `getNortheast()`, `getSouthwest()`, `equals(@Nullable Object o)`, `hashCode()`, and `toString()` are also available to interact with and define the GeoRegion."]]],[]]