GEOS 3.15.0beta1
geos::shape::random::RandomPointsBuilder Class Reference

#include <RandomPointsBuilder.h>

Public Member Functions

 RandomPointsBuilder (const geom::GeometryFactory *gf)
void setExtent (const geom::Geometry &mask)
std::unique_ptr< geom::GeometrygetGeometry () override

Protected Member Functions

bool isInExtent (const geom::CoordinateXY &p) const
geom::CoordinateXY createRandomCoord (const geom::Envelope &env)

Protected Attributes

std::unique_ptr< geom::GeometrymaskPoly

Detailed Description

Creates random point sets contained in a region defined by either a rectangular or a polygonal extent.

Author
mbdavis

The documentation for this class was generated from the following file: