points.add(randomPointIn(nearR));
}
double maxBuf = Math.max(nearR.getWidth(), nearR.getHeight());
double buf = Math.abs(randomGaussian()) * maxBuf / 4;
buf = randomInt((int) divisible(buf));
return new BufferedLineString(points, buf, ctx);
}
protected Point randomPointInEmptyShape(BufferedLineString shape) {
List<Point> points = shape.getPoints();
return points.get(randomInt(points.size() - 1));