return a >= start && a <= end;
return a >= start && a < end;
  public boolean containsAngle(double a)  {    double start = getAngleStart();    double extent = getAngleExtent();    double end = start + extent;    if (extent >= 360 || extent <= -360)      return true;    if (extent < 0)      {	end = start;	start += extent;      }    start %= 360;    while (start < 0)      start += 360;    end %= 360;    while (end < start)      end += 360;    a %= 360;    while (a < start)      a += 360;    return a >= start && a <= end;	}