Struct GeographicCoordinate
Syntax
[Serializable]
public struct GeographicCoordinate
Constructors
GeographicCoordinate(Double, Double)
Declaration
public GeographicCoordinate(double latitude, double longitude)
Parameters
Fields
Invalid
Declaration
public static readonly GeographicCoordinate Invalid
Field Value
latitude
Declaration
Field Value
longitude
Declaration
Field Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Implicit(LocationInfo to GeographicCoordinate)
Declaration
public static implicit operator GeographicCoordinate(LocationInfo location)
Parameters
Type |
Name |
Description |
LocationInfo |
location |
|
Returns
Implicit(GeographicCoordinate to Vector2)
Declaration
public static implicit operator Vector2(GeographicCoordinate coordinate)
Parameters
Returns
Implicit(Vector2 to GeographicCoordinate)
Declaration
public static implicit operator GeographicCoordinate(Vector2 vec)
Parameters
Type |
Name |
Description |
Vector2 |
vec |
|
Returns