RectangleGeographicArea class Core

RectangleGeographicArea object.

Implemented types

Constructors

RectangleGeographicArea({required Coordinates topLeft, required Coordinates bottomRight})
RectangleGeographicArea.fromJson(Map<String, dynamic> json)
factory

Properties

bottomRight Coordinates
getter/setter pair
boundingBox RectangleGeographicArea
Get the bounding box. This is the smallest rectangle that can be drawn around the area such that it surrounds this geographic area completely.
no setteroverride
centerPoint Coordinates
Retrieves the center point of the geographic area. Calculates and returns the geographic center of the area.
no setteroverride
copy RectangleGeographicArea
Create a new RectangleGeographicArea object with the same properties as the original.
no setter
hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Checks if the geographic area is empty.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topLeft Coordinates
getter/setter pair
type GeographicAreaType
Retrieves the specific type of the geographic area.
no setteroverride

Methods

contains(RectangleGeographicArea area) bool
Checks if this rectangle completely contains another rectangle.
containsCoordinates(Coordinates point) bool
Checks if the specified point is contained within the geographic area.
override
intersects(RectangleGeographicArea area) bool
Checks if this rectangle intersects with another rectangle.
makeIntersection(RectangleGeographicArea area) RectangleGeographicArea
Creates a new RectangleGeographicArea as the intersection of this rectangle and another rectangle.
makeUnion(RectangleGeographicArea area) RectangleGeographicArea
Creates a new RectangleGeographicArea as the union of this rectangle and another rectangle.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(covariant RectangleGeographicArea other) bool
The equality operator.
override