JTS Core 1.17.1
Packages
Classes
Search
About
Top
ofLine(CoordinateSequence): double
Bottom
Source
Classic
org.locationtech.jts.algorithm
Class Length
Hierarchy:
Object
, Length
public class Length
Functions for computing length.
Authors:
Martin Davis
public
static
double ofLine(
CoordinateSequence
pts)
Computes the length of a linestring specified by a sequence of points.
Parameters:
pts - pts the points specifying the linestring
Returns:
the length of the linestring