Class RandomPointsInGridBuilder



  • public class RandomPointsInGridBuilder
    extends GeometricShapeBuilder
    Creates random point sets where the points are constrained to lie in the cells of a grid.
    • Constructor Detail

      • RandomPointsInGridBuilder

        public RandomPointsInGridBuilder()
        Create a builder which will create shapes using the default GeometryFactory.
      • RandomPointsInGridBuilder

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

      • setConstrainedToCircle

        public void setConstrainedToCircle(boolean isConstrainedToCircle)
      • setGutterFraction

        public void setGutterFraction(double gutterFraction)
      • getGeometry

        public Geometry getGeometry()