Class SubstringLine


  • public class SubstringLine
    extends Object
    Author:
    P070518
    • Constructor Detail

      • SubstringLine

        public SubstringLine​(org.locationtech.jts.geom.LineString line)
    • Method Detail

      • getSubstring

        public static org.locationtech.jts.geom.LineString getSubstring​(org.locationtech.jts.geom.LineString line,
                                                                        double startLength,
                                                                        double endLength)
        Parameters:
        line - LineString;
        startLength - double;
        endLength - double;
        Returns:
        the substring
      • getSubstring

        public org.locationtech.jts.geom.LineString getSubstring​(double startDistance,
                                                                 double endDistance)