public class InteriorPointFinder
extends java.lang.Object
Algorithm is:
| Constructor and Description |
|---|
InteriorPointFinder() |
| Modifier and Type | Method and Description |
|---|---|
com.vividsolutions.jts.geom.Coordinate |
centre(com.vividsolutions.jts.geom.Envelope envelope)
Returns the centre-of-mass of the envelope.
|
protected com.vividsolutions.jts.geom.Geometry |
envelopeMiddle(com.vividsolutions.jts.geom.Geometry geometry) |
com.vividsolutions.jts.geom.Coordinate |
findPoint(com.vividsolutions.jts.geom.Geometry geometry)
Finds a reasonable point at which to label a Geometry.
|
protected com.vividsolutions.jts.geom.Geometry |
widestGeometry(com.vividsolutions.jts.geom.Geometry geometry) |
public com.vividsolutions.jts.geom.Coordinate findPoint(com.vividsolutions.jts.geom.Geometry geometry)
geometry - the geometry to analyzeprotected com.vividsolutions.jts.geom.Geometry widestGeometry(com.vividsolutions.jts.geom.Geometry geometry)
protected com.vividsolutions.jts.geom.Geometry envelopeMiddle(com.vividsolutions.jts.geom.Geometry geometry)
public com.vividsolutions.jts.geom.Coordinate centre(com.vividsolutions.jts.geom.Envelope envelope)
envelope - the envelope to analyze