GEOS 3.15.0dev
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
geos::shape::random::RandomPointsBuilder Class Reference

#include <RandomPointsBuilder.h>

Inherits geos::shape::GeometricShapeBuilder.

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: