Geographic coordinate system
More...
|
| const double | R = 6371 |
| | Earth radius More...
|
| |
Geographic coordinate system
◆ Deg2Rad()
| static double Energy.Base.Geo.Deg2Rad |
( |
double |
value | ) |
|
|
static |
Convert degrees to radians
- Parameters
-
- Returns
- Radians
◆ GetDistance()
| static double Energy.Base.Geo.GetDistance |
( |
Point |
location1, |
|
|
Point |
location2 |
|
) |
| |
|
static |
Get distance between two locations in kilometers
- Parameters
-
| location1 | First location |
| location2 | Second location |
- Returns
- Distance
| const double Energy.Base.Geo.R = 6371 |
The documentation for this class was generated from the following file: