Table of Contents

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

r GeoRect

Rectangle to evaluate.

width double

Approximate width in kilometers.

height double

Approximate height in kilometers.

Remarks

This is a rough estimate based on a constant degrees-to-kilometers factor and does not compensate for latitude distortion.