com.vividsolutions.jts.algorithm
Class InteriorPointLine
java.lang.Object
com.vividsolutions.jts.algorithm.InteriorPointLine
public class InteriorPointLine
- extends Object
Computes a point in the interior of an linear geometry.
Algorithm
- Find an interior vertex which is closest to
the centroid of the linestring.
- If there is no interior vertex, find the endpoint which is
closest to the centroid.
- Version:
- 1.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteriorPointLine
public InteriorPointLine(Geometry g)
getInteriorPoint
public Coordinate getInteriorPoint()
Copyright © 2012. All Rights Reserved.