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