| |
|
| java.lang.Object com.vividsolutions.jts.generator.GeometryGenerator com.vividsolutions.jts.generator.PolygonGenerator
PolygonGenerator | public class PolygonGenerator extends GeometryGenerator (Code) | | This class is used to create a polygon within the specified bounding box.
Sucessive calls to create may or may not return the same geometry topology.
author: David Zwiers, Vivid Solutions. |
ARC | final public static int ARC(Code) | | Creates polygons whose points will not be rectangular when there are more than 4 points
|
BOX | final public static int BOX(Code) | | Creates rectangular polygons
|
generationAlgorithm | protected int generationAlgorithm(Code) | | |
numberHoles | protected int numberHoles(Code) | | |
numberPoints | protected int numberPoints(Code) | | |
getGenerationAlgorithm | public int getGenerationAlgorithm()(Code) | | Returns the generationAlgorithm. |
getNumberHoles | public int getNumberHoles()(Code) | | Returns the numberHoles. |
getNumberPoints | public int getNumberPoints()(Code) | | Returns the numberPoints. |
setGenerationAlgorithm | public void setGenerationAlgorithm(int generationAlgorithm)(Code) | | Parameters: generationAlgorithm - The generationAlgorithm to set. |
setNumberHoles | public void setNumberHoles(int numberHoles)(Code) | | Parameters: numberHoles - The numberHoles to set. |
setNumberPoints | public void setNumberPoints(int numberPoints)(Code) | | Parameters: numberPoints - The numberPoints to set. |
|
|
|