ResQ.Core
Location Class
Represents a geographic location with latitude, longitude, and optional altitude.Example
Remarks
This record provides a standard way to represent geographic coordinates throughout the ResQ system. It includes a method to calculate distance between locations using the Haversine formula for great-circle distance.| Constructors | |
|---|---|
| Location(double, double, Nullable<double>) | Represents a geographic location with latitude, longitude, and optional altitude. |
| Methods | |
|---|---|
| DistanceTo(Location) | Calculates the great-circle distance to another location using the Haversine formula. |