GoogleApi.ContentWarehouse.V1.Model.GeostoreRectProto
Table of Contents ▼
Jump to a specific part of the page:
Description
A latitude-longitude rectangle, represented as two diagonally opposite points "lo" and "hi". The rectangle is considered to be a closed region, i.e. it includes its boundary. The latitude bounds must be in the range -90 to 90 degrees inclusive, and the longitude bounds must be in the range -180 to 180 degrees inclusive. Various cases include: - If lo == hi, the rectangle consists of a single point. - If lo.longitude > hi.longitude, the longitude range is "inverted" (the rectangle crosses the 180 degree longitude line). - If lo.longitude == -180 degrees and hi.longitude = 180 degrees, the rectangle includes all longitudes. - If lo.longitude = 180 degrees and hi.longitude = -180 degrees, the longitude range is empty. - If lo.latitude > hi.latitude, the latitude range is empty.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
hi
(type:GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto
, default:nil
)
- -
lo
(type:GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto
, default:nil
)
-
Type
hi: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t() | nil,
lo: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreRectProto