Class RandomPointsBuilder


  • public class RandomPointsBuilder
    extends GeometricShapeBuilder
    Creates random point sets contained in a region defined by either a rectangular or a polygonal extent.
    Author:
    mbdavis
    • Constructor Detail

      • RandomPointsBuilder

        public RandomPointsBuilder()
        Create a shape factory which will create shapes using the default GeometryFactory.
      • RandomPointsBuilder

        public RandomPointsBuilder​(GeometryFactory geomFact)
        Create a shape factory which will create shapes using the given GeometryFactory.
        Parameters:
        geomFact - the factory to use
    • Method Detail

      • setExtent

        public void setExtent​(Geometry mask)
        Sets a polygonal mask.
        Parameters:
        mask -
        Throws:
        java.lang.IllegalArgumentException - if the mask is not polygonal