Class Length

java.lang.Object
org.locationtech.jts.algorithm.Length

public class Length extends Object
Functions for computing length.
Author:
Martin Davis
  • Constructor Details

    • Length

      public Length()
  • Method Details

    • ofLine

      public static double ofLine(CoordinateSequence pts)
      Computes the length of a linestring specified by a sequence of points.
      Parameters:
      pts - the points specifying the linestring
      Returns:
      the length of the linestring