public class InteriorPointPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Coordinate |
centroid |
private Coordinate |
interiorPoint |
private double |
minDistance |
Constructor and Description |
---|
InteriorPointPoint(Geometry g) |
Modifier and Type | Method and Description |
---|---|
private void |
add(Coordinate point) |
private void |
add(Geometry geom)
Tests the point(s) defined by a Geometry for the best inside point.
|
Coordinate |
getInteriorPoint() |
private Coordinate centroid
private double minDistance
private Coordinate interiorPoint
public InteriorPointPoint(Geometry g)
private void add(Geometry geom)
geom
- the geometry to addprivate void add(Coordinate point)
public Coordinate getInteriorPoint()