GoogleRidesharingConsumer Framework Reference
GMTSLatLngDegreeAlmostEqualTolerance
extern const double GMTSLatLngDegreeAlmostEqualTolerance
Delta threshold allowed between objects for AlmostEqual
to return YES
.
This value is 1e-7
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
[null,null,["Last updated 2025-01-21 UTC."],[[["`GMTSLatLngDegreeAlmostEqualTolerance` is a constant used to determine if two latitude/longitude degree values are considered almost equal."],["The threshold for determining almost equality between objects is defined by this constant."],["The tolerance value for `GMTSLatLngDegreeAlmostEqualTolerance` is set to `1e-7`."]]],["The core information defines `GMTSLatLngDegreeAlmostEqualTolerance` as a constant double. This constant represents the allowed delta threshold for determining if two objects are \"AlmostEqual.\" Specifically, when comparing objects, a difference of up to `1e-7` is considered negligible, and the objects are deemed equal. This tolerance value is utilized within the `AlmostEqual` function to establish equality criteria.\n"]]