/** * Sets the mean position that the location generator will use as mean. * @param m The x and y value of the mean position. * @return This, as per the builder pattern. */ public Builder mean(double m) { return xMean(m).yMean(m); }
/** * Sets the position that the location generator will use as mean. * @param mean The mean position. * @return This, as per the builder pattern. */ public Builder mean(Point mean) { return xMean(mean.x).yMean(mean.y); }