ru.dgis.sdk.coordinates.GeoRect | Android SDK | 2GIS Documentation
Android SDK

GeoRect

Rectangular area in a spherical coordinate system (for example, WGS84). This structure is not tied to a specific geodesic coordinate system.

GeoRect(southWestPoint: GeoPoint, northEastPoint: GeoPoint)

Rectangular area in a spherical coordinate system (for example, WGS84). This structure is not tied to a specific geodesic coordinate system.

Parameters
southWestPoint
northEastPoint
Returns
Methods
Properties

Checks the rectangle for validity.

Checks the rectangle for degeneracy. If the points in the rectangle are equal, then it degenerates to a point. A degenerate rectangle is a valid rectangle. An invalid rectangle is not degenerate.

Southwest point, lower-left border of the rectangle.

Northeast point, upper-right border of the rectangle.