public float distance(double x,double y){
  float dist=normalizeDistanceForLineWidth(super.distance(x,y));
  float tmpDist;
  tmpDist=centerPoint.distance(x,y);
  if (tmpDist < dist) {
    dist=tmpDist;
  }
  return dist;
}

public float distance ( double x , double y ) { float dist = normalizeDistanceForLineWidth ( super . distance ( x , y ) ) ; float tmpDist ; tmpDist = centerPoint . distance ( x , y ) ; if ( tmpDist < dist ) { dist = tmpDist ; } return dist ; }
return the shortest distance from the circle to an xy - point .
