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

GeoRect

A rectangular area in a spherical coordinate system (eg WGS84). This structure is not tied to a specific geodetic coordinate system.

GeoRect(southWestPoint: GeoPoint, northEastPoint: GeoPoint)

A rectangular area in a spherical coordinate system (eg WGS84). This structure is not tied to a specific geodetic 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.