text: public virtual void Validate(){if (Operation.IsTargetNeedsArea && !Shape.HasArea){throw new ArgumentException(Operation + " only supports geometry with area");}if (DistErr != null && DistErrPct != null){throw new ArgumentException("Only DistErr or DistErrPct can be specified.");}}