constants library
Epsilon, geodetic and screen related constants.
This libary exports a subset of package:geobase/geobase.dart
.
Usage: import package:geobase/constants.dart
Constants
- defaultEpsilon → const double
-
The default epsilon value
1.0e-9
used as a tolerance inequals2D
,equals3D
and similar methods in this package.1.0e-9
- doublePrecisionEpsilon → const double
-
The maximum relative precision of double numbers (IEEE 754).
2.220446049250313e-16
- earthCircumferenceWgs84 → const double
-
The earth circumference in meters (from earth equatorial radius by WGS 84).
2 * math.pi * earthRadiusWgs84
- earthRadiusWgs84 → const double
-
The earth equatorial radius in meters as specified by WGS 84.
6378137.0
- maxLatitude → const double
-
The maximum value for the geographic latitude.
90.0
- maxLatitudeWebMercator → const double
-
The maximum value for the geographic latitude inside the Web Mercator
projection coverage.
85.05112878
- maxLongitude → const double
-
The maximum value for the geographic longitude.
180.0
- minLatitude → const double
-
The minimum value for the geographic latitude.
-90.0
- minLatitudeWebMercator → const double
-
The minimum value for the geographic latitude inside the Web Mercator
projection coverage.
-85.05112878
- minLongitude → const double
-
The minimum value for the geographic longitude.
-180.0
- screenPPIbyOGC → const double
-
OGC defines a screen pixel of 0.28 mm that approximates to 90.7 ppi.
0.0254 / 0.00028