Constructor
The options object.
Bottom-right coordinates.
Top-left coordinates.
Bottom-right coordinates of the rectangle
Top-left coordinates of the rectangle
Retrieves the center point of the geographic area.
Coordinates object representing the center point of the area.
Create a new RectangleGeographicArea object with the same properties as the original.
A new RectangleGeographicArea object with the same properties
Checks if the geographic area has default values.
true if the area has default values, false otherwise.
Checks if the geographic area is empty.
true if the area is empty, false otherwise.
Retrieves the specific type of the geographic area.
The GeographicAreaType of the area.
Checks if this rectangle completely contains another rectangle.
The RectangleGeographicArea to check containment of.
True if this rectangle contains the other, false otherwise.
Checks if the specified point is contained within the geographic area.
A Coordinates object representing the point to check.
True if the point is within the geographic area, false otherwise.
Converts the rectangle to another geographic area type, if possible.
Checks if this rectangle intersects with another rectangle.
The RectangleGeographicArea to check intersection with.
True if the rectangles intersect, false otherwise.
Creates a new RectangleGeographicArea as the intersection of this rectangle and another rectangle.
The RectangleGeographicArea to intersect with.
A new RectangleGeographicArea object representing the intersection.
Creates a new RectangleGeographicArea as the union of this rectangle and another rectangle.
The RectangleGeographicArea to unite with.
A new RectangleGeographicArea object representing the union.
Resets the rectangle to default state.
Convert to JSON representation
String representation
Staticfrom
RectangleGeographicArea object.