public boolean isOnPieChart(Point screenPoint){
  double sqValue=(Math.pow(mCenterX - screenPoint.getX(),2) + Math.pow(mCenterY - screenPoint.getY(),2));
  double radiusSquared=mPieChartRadius * mPieChartRadius;
  boolean isOnPieChart=sqValue <= radiusSquared;
  return isOnPieChart;
}

public boolean isOnPieChart ( Point screenPoint ) { double sqValue = ( Math . pow ( mCenterX - screenPoint . getX ( ) , 2 ) + Math . pow ( mCenterY - screenPoint . getY ( ) , 2 ) ) ; double radiusSquared = mPieChartRadius * mPieChartRadius ; boolean isOnPieChart = sqValue <= radiusSquared ; return isOnPieChart ; }
checks if point falls within piechart
