PolarCoverage
class PolarCoverage(val site: Site, val radials: Int, val rings: Int, val firstKm: Double, val ringStepKm: Double, val dbm: DoubleArray)(source)
Received power on a polar lattice centered on the site: radials bearings by rings ranges.
Coverage is computed in polar and only then rasterised, because a receiver's prediction needs the whole terrain profile back to the transmitter. On a radial every receiver shares one profile (the far one is the near one plus a few points), so a bearing's worth of predictions costs a single walk. Sampling the cartesian grid directly re-walks a profile per cell and re-reads the same terrain thousands of times over.
dbm is indexed bearing * rings + ring; ring r sits at firstKm + r * ringStepKm.