public abstract class GeometricShapeBuilder extends Object
Constructor and Description |
---|
GeometricShapeBuilder(GeometryFactory geomFactory) |
Modifier and Type | Method and Description |
---|---|
Coordinate |
getCentre() |
double |
getDiameter() |
Envelope |
getExtent() |
abstract Geometry |
getGeometry() |
double |
getRadius() |
LineSegment |
getSquareBaseLine() |
Envelope |
getSquareExtent() |
void |
setExtent(Envelope extent) |
void |
setNumPoints(int numPts)
Sets the total number of points in the created
Geometry . |
public GeometricShapeBuilder(GeometryFactory geomFactory)
public void setExtent(Envelope extent)
public Envelope getExtent()
public Coordinate getCentre()
public double getDiameter()
public double getRadius()
public LineSegment getSquareBaseLine()
public Envelope getSquareExtent()
public void setNumPoints(int numPts)
Geometry
.
The created geometry will have no more than this number of points,
unless more are needed to create a valid geometry.public abstract Geometry getGeometry()
Copyright © 2020. All rights reserved.