40class GEOS_DLL RandomPointsBuilder :
public GeometricShapeBuilder {
45 using GeometricShapeBuilder::setExtent;
49 std::unique_ptr<geom::Geometry> getGeometry()
override;
53 bool isInExtent(
const geom::CoordinateXY& p)
const;
57 std::unique_ptr<geom::Geometry> maskPoly;
59 std::unique_ptr<algorithm::locate::PointOnGeometryLocator> extentLocator;
60 std::random_device rd;
62 std::uniform_real_distribution<double> dist{0, 1};