Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.GeoCoordinate2 Struct Reference

A GeoCoordinate composed of a latitude and longitude component. More...

Public Member Functions

 GeoCoordinate2 (float latitude=0.0f, float longitude=0.0f)
 
float Distance (GeoCoordinate2 geoCoordinate, float radius)
 
Vector3 UpVector ()
 
override bool Equals (object otherCoord)
 
bool Approximately (GeoCoordinate2 coord)
 
override string ToString ()
 
override int GetHashCode ()
 

Static Public Member Functions

static implicit operator GeoCoordinate2 (GeoCoordinate3 geo)
 
static GeoCoordinate2 Round (GeoCoordinate2 geo, int decimals)
 
static bool operator== (GeoCoordinate2 coord, GeoCoordinate2 otherCoord)
 
static bool operator!= (GeoCoordinate2 coord, GeoCoordinate2 otherCoord)
 
static GeoCoordinate2 Lerp (GeoCoordinate2 value1, GeoCoordinate2 value2, float t)
 

Public Attributes

float latitude
 
float longitude
 

Static Public Attributes

static GeoCoordinate2 zero = new GeoCoordinate2()
 
static GeoCoordinate2 empty = new GeoCoordinate2(-1,-1)
 
static GeoCoordinate2 positiveInfinity = new GeoCoordinate2(float.PositiveInfinity, float.PositiveInfinity)
 

Detailed Description

A GeoCoordinate composed of a latitude and longitude component.


The documentation for this struct was generated from the following file: