public class InteriorPointArea extends Object
| Constructor and Description |
|---|
InteriorPointArea(Geometry g) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPolygon(Geometry geometry)
Finds a reasonable point at which to label a Geometry.
|
Coordinate |
centre(Envelope envelope)
Returns the centre point of the envelope.
|
Coordinate |
getInteriorPoint() |
protected LineString |
horizontalBisector(Geometry geometry) |
protected Geometry |
widestGeometry(Geometry geometry) |
public InteriorPointArea(Geometry g)
public Coordinate getInteriorPoint()
public void addPolygon(Geometry geometry)
geometry - the geometry to analyzeprotected LineString horizontalBisector(Geometry geometry)
public Coordinate centre(Envelope envelope)
envelope - the envelope to analyzeCopyright © 2016. All rights reserved.