code: public int scaleToPixel(double reach) {
      return (Double.isInfinite(reach) || Double.isNaN(reach)) ? 0 : //
      (int) Math.round(scale.getScaled(reach, height - .5, .5));
    }
docs: Scale a reachability distance to a pixel value.
  
  @param reach Reachability
  @return Pixel value.