public class RandomPointsBuilder extends GeometricShapeBuilder
Constructor | Description |
---|---|
RandomPointsBuilder() |
Create a shape factory which will create shapes using the default
GeometryFactory . |
RandomPointsBuilder(GeometryFactory geomFact) |
Create a shape factory which will create shapes using the given
GeometryFactory . |
Modifier and Type | Method | Description |
---|---|---|
Geometry |
getGeometry() |
|
void |
setExtent(Geometry mask) |
Sets a polygonal mask.
|
getCentre, getDiameter, getExtent, getRadius, getSquareBaseLine, getSquareExtent, setExtent, setNumPoints
public RandomPointsBuilder()
GeometryFactory
.public RandomPointsBuilder(GeometryFactory geomFact)
GeometryFactory
.geomFact
- the factory to usepublic void setExtent(Geometry mask)
mask
- java.lang.IllegalArgumentException
- if the mask is not polygonalpublic Geometry getGeometry()
getGeometry
in class GeometricShapeBuilder
Copyright © 2018. All rights reserved.