[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-06-17 UTC."],[],[],null,["# Firebase.Firestore.GeoPoint Struct Reference\n\nFirebase.Firestore.GeoPoint\n===========================\n\nImmutable struct representing a geographic location in Cloud [Firestore](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore).\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: IEquatable\\\u003c GeoPoint \\\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [GeoPoint](#struct_firebase_1_1_firestore_1_1_geo_point_1a71f80013c8b159efd2080abcef3c08bc)`(double latitude, double longitude)` Creates a new value using the provided latitude and longitude values. ||\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [Latitude](#struct_firebase_1_1_firestore_1_1_geo_point_1a8f8d88f505922cbdbcffbf25d4cd758f) | `double` The latitude, in degrees, in the range -90 to 90 inclusive. |\n| [Longitude](#struct_firebase_1_1_firestore_1_1_geo_point_1ac76f10ef21dada2e6ef85b72f0f87d8e) | `double` The longitude, in degrees, in the range -180 to 180 inclusive. |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|\n| [Equals](#struct_firebase_1_1_firestore_1_1_geo_point_1aabeded90cf8cbd37f0aee7091173676b)`(object obj)` | `override bool` |\n| [Equals](#struct_firebase_1_1_firestore_1_1_geo_point_1a10d7ec49a069e70538babaab8e3becd4)`(`[GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point)` other)` | `bool` |\n| [GetHashCode](#struct_firebase_1_1_firestore_1_1_geo_point_1a1e5242377fc00fc34aeae393e9071ebf)`()` | `override int` |\n| [ToString](#struct_firebase_1_1_firestore_1_1_geo_point_1a31c8e9a05cab86b397b61205c0b05c16)`()` | `override string` |\n\n| ### Public static functions ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [operator!=](#struct_firebase_1_1_firestore_1_1_geo_point_1aad9eb40217f69d39a7dc5b4b2f9b5dd0)`(`[GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point)` lhs, `[GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point)` rhs)` | `bool` Operator overload to compare two [GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point) values for inequality. |\n| [operator==](#struct_firebase_1_1_firestore_1_1_geo_point_1af92ad8a79be0e235cdec98f8f4407807)`(`[GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point)` lhs, `[GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point)` rhs)` | `bool` Operator overload to compare two [GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point) values for equality. |\n\nProperties\n----------\n\n### Latitude\n\n```c#\ndouble Firebase::Firestore::GeoPoint::Latitude\n``` \nThe latitude, in degrees, in the range -90 to 90 inclusive. \n\n### Longitude\n\n```c#\ndouble Firebase::Firestore::GeoPoint::Longitude\n``` \nThe longitude, in degrees, in the range -180 to 180 inclusive.\n\nPublic functions\n----------------\n\n### Equals\n\n```c#\noverride bool Firebase::Firestore::GeoPoint::Equals(\n object obj\n)\n``` \n\n### Equals\n\n```c#\nbool Firebase::Firestore::GeoPoint::Equals(\n GeoPoint other\n)\n``` \n\n### GeoPoint\n\n```c#\n Firebase::Firestore::GeoPoint::GeoPoint(\n double latitude,\n double longitude\n)\n``` \nCreates a new value using the provided latitude and longitude values.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |-------------|------------------------------------------------------------------------| | `latitude` | The latitude of the point in degrees, between -90 and 90 inclusive. | | `longitude` | The longitude of the point in degrees, between -180 and 180 inclusive. | |\n\n### GetHashCode\n\n```c#\noverride int Firebase::Firestore::GeoPoint::GetHashCode()\n``` \n\n### ToString\n\n```c#\noverride string Firebase::Firestore::GeoPoint::ToString()\n``` \n\nPublic static functions\n-----------------------\n\n### operator!=\n\n```c#\nbool Firebase::Firestore::GeoPoint::operator!=(\n GeoPoint lhs,\n GeoPoint rhs\n)\n``` \nOperator overload to compare two [GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point) values for inequality.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------------------------------------------------------|\n| Parameters | |-------|------------------------| | `lhs` | Left value to compare | | `rhs` | Right value to compare | |\n| **Returns** | `false` if *lhs* is equal to *rhs* ; otherwise `true`. |\n\n### operator==\n\n```c#\nbool Firebase::Firestore::GeoPoint::operator==(\n GeoPoint lhs,\n GeoPoint rhs\n)\n``` \nOperator overload to compare two [GeoPoint](/docs/reference/unity/struct/firebase/firestore/geo-point#struct_firebase_1_1_firestore_1_1_geo_point) values for equality.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------------------------------------------------------|\n| Parameters | |-------|------------------------| | `lhs` | Left value to compare | | `rhs` | Right value to compare | |\n| **Returns** | `true` if *lhs* is equal to *rhs* ; otherwise `false`. |"]]