public int scaleToPixel(double reach){
  return (Double.isInfinite(reach) || Double.isNaN(reach)) ? 0 : (int)Math.round(scale.getScaled(reach,height - .5,.5));
}

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