Method CalculateSizeApproxInKMs
- Namespace
- Pinwheel.Vista.RealWorldData
- Assembly
- Pinwheel.Vista.RealWorldData.Runtime.dll
CalculateSizeApproxInKMs(GeoRect, out double, out double)
Estimates the rectangle size in kilometers using a simple degrees-to-kilometers conversion.
public static void CalculateSizeApproxInKMs(this GeoRect r, out double width, out double height)
Parameters
rGeoRectRectangle to evaluate.
widthdoubleApproximate width in kilometers.
heightdoubleApproximate height in kilometers.
Remarks
This is a rough estimate based on a constant degrees-to-kilometers factor and does not compensate for latitude distortion.