Firebase. Firestore. GeoPoint
Immutable struct representing a geographic location in Cloud Firestore.
Summary
Inheritance
Inherits from: IEquatable< GeoPoint > Constructors and Destructors | |
---|---|
GeoPoint(double latitude, double longitude) Creates a new value using the provided latitude and longitude values. |
Properties | |
---|---|
Latitude | double The latitude, in degrees, in the range -90 to 90 inclusive. |
Longitude | double The longitude, in degrees, in the range -180 to 180 inclusive. |
Public functions | |
---|---|
Equals(object obj) | override bool |
Equals(GeoPoint other) | bool |
GetHashCode() | override int |
ToString() | override string |
Public static functions | |
---|---|
operator!=(GeoPoint lhs, GeoPoint rhs) | bool Operator overload to compare two GeoPoint values for inequality. |
operator==(GeoPoint lhs, GeoPoint rhs) | bool Operator overload to compare two GeoPoint values for equality. |
Properties
Latitude
double Firebase::Firestore::GeoPoint::Latitude
The latitude, in degrees, in the range -90 to 90 inclusive.
Longitude
double Firebase::Firestore::GeoPoint::Longitude
The longitude, in degrees, in the range -180 to 180 inclusive.
Public functions
Equals
override bool Firebase::Firestore::GeoPoint::Equals( object obj )
Equals
bool Firebase::Firestore::GeoPoint::Equals( GeoPoint other )
GeoPoint
Firebase::Firestore::GeoPoint::GeoPoint( double latitude, double longitude )
Creates a new value using the provided latitude and longitude values.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
GetHashCode
override int Firebase::Firestore::GeoPoint::GetHashCode()
ToString
override string Firebase::Firestore::GeoPoint::ToString()