GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMTSLatLngDegreeAlmostEqualTolerance\u003c/code\u003e is a constant used to determine if two latitude/longitude degree values are considered almost equal.\u003c/p\u003e\n"],["\u003cp\u003eThe threshold for determining almost equality between objects is defined by this constant.\u003c/p\u003e\n"],["\u003cp\u003eThe tolerance value for \u003ccode\u003eGMTSLatLngDegreeAlmostEqualTolerance\u003c/code\u003e is set to \u003ccode\u003e1e-7\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTSLatLngDegreeAlmostEqualTolerance\n====================================\n\n extern const double GMTSLatLngDegreeAlmostEqualTolerance\n\nDelta threshold allowed between objects for `AlmostEqual` to return `YES`.\nThis value is `1e-7`."]]