Class: InteriorPointLine

jsts.algorithm.InteriorPointLine

new InteriorPointLine()

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
Source: