checkArea method
void
checkArea()
Implementation
void checkArea() {
double inputArea = input.getArea();
double resultArea = result.getArea();
if (distance > 0.0 && inputArea > resultArea) {
_isValid = false;
errorMsg = "Area of positive buffer is smaller than input";
errorIndicator = result;
}
if (distance < 0.0 && inputArea < resultArea) {
_isValid = false;
errorMsg = "Area of negative buffer is larger than input";
errorIndicator = result;
}
report("Area");
}