Table of Contents

Method ExpandMeters

Namespace
Pinwheel.Vista.RealWorldData
Assembly
Pinwheel.Vista.RealWorldData.Runtime.dll

ExpandMeters(GeoRect, double)

Expands the rectangle outward by the same distance on all four sides.

public static GeoRect ExpandMeters(this GeoRect r, double meters)

Parameters

r GeoRect

Rectangle to expand.

meters double

Expansion distance in meters.

Returns

GeoRect

The expanded rectangle.

Remarks

The conversion uses a constant meters-to-degrees factor, so it is an approximation rather than a latitude-aware geodesic expansion.