Skip to main content

ResQ.Core.Location

Location(double, double, Nullable<double>) Constructor

Represents a geographic location with latitude, longitude, and optional altitude.

Parameters

Latitude System.Double Latitude in decimal degrees (-90 to 90). Longitude System.Double Longitude in decimal degrees (-180 to 180). Altitude System.Nullable<System.Double> Altitude in meters above sea level (optional).

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.