Package org.locationtech.jts.algorithm
Class Length
- java.lang.Object
-
- org.locationtech.jts.algorithm.Length
-
public class Length extends java.lang.Object
Functions for computing length.- Author:
- Martin Davis
-
-
Constructor Summary
Constructors Constructor Description Length()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
ofLine(CoordinateSequence pts)
Computes the length of a linestring specified by a sequence of points.
-
-
-
Method Detail
-
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
-
-