Class Length


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

      • Length

        public Length()
    • 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