| Class | Description |
|---|---|
| Bounds |
A rectangular (in Mercator projection) bounding box specified by a lower-left
coordinate (
Bounds.min()) and an upper-right coordinate (Bounds.max()). |
| Coordinates |
Constants and utility methods pertaining to geographic coordinates.
|
| GriddedRegion | |
| Location |
A
Location represents a point with reference to the earth's
ellipsoid. |
| LocationGrid |
An immutable, tabular grid of locations that supplies row and column data as
LocationLists. |
| LocationGrid.Builder |
A single-use builder of
LocationGrids. |
| LocationList |
An immutable, ordered collection of
Locations. |
| LocationList.Builder |
A reusable builder of
LocationLists. |
| Locations |
Static utility methods to operate on geographic
Location data. |
| LocationVector |
This class encapsulates information describing a vector between two
Locations. |
| Region |
A
Region is a polygonal area on the surface of the earth. |
| Regions |
Utility methods pertaining to geographic regions.
|
| RegionUtils |
Region export utilities.
|
| Enum | Description |
|---|---|
| BorderType |
A
BorderType specifies how lines connecting two points on the earth's
surface should be represented. |
All objects and methods in this package assume that depths are positive-down, consistent with seismological convention.
Note that while the objects and methods of this package produce reliable
results for most regions of the globe, situations may arise in which users
encounter unexpected behaviour and results. For instance, the 'fast'
algorithms in Locations (e.g.
Locations.horzDistanceFast(Location, Location)
) will not produce accurate results when used in close proximity to the poles
or when locations span the antimeridian (the -180° +180° transition). In such
cases, users should consider substituting slower, but more accurate
algorithms. In the latter case, one could alternatively opt to use locations
referenced to 0° to 360° instead. Exceptional behavior is well documented in
the Locations class.