/** * Sets the standard deviations for x and y that the location generator will * use. * @param p A point indicating the x and y standard deviations. * @return This, as per the builder pattern. */ public Builder std(Point p) { return xStd(p.x).yStd(p.y); }
/** * Sets the standard deviation that the location generator will use. * @param s The standard deviation. * @return This, as per the builder pattern. */ public Builder std(double s) { return xStd(s).yStd(s); }