public class SubstringLine extends Object
Constructor and Description |
---|
SubstringLine(com.vividsolutions.jts.geom.LineString line) |
Modifier and Type | Method and Description |
---|---|
com.vividsolutions.jts.geom.LineString |
getSubstring(double startDistance,
double endDistance) |
static com.vividsolutions.jts.geom.LineString |
getSubstring(com.vividsolutions.jts.geom.LineString line,
double startLength,
double endLength) |
public SubstringLine(com.vividsolutions.jts.geom.LineString line)
line
- LineString; input a line geometrypublic static com.vividsolutions.jts.geom.LineString getSubstring(com.vividsolutions.jts.geom.LineString line, double startLength, double endLength)
line
- LineString; geometrystartLength
- double; start positionendLength
- double; end positionpublic com.vividsolutions.jts.geom.LineString getSubstring(double startDistance, double endDistance)
startDistance
- double; start positionendDistance
- double; end positionCopyright © 2014–2018 Delft University of Technology. All rights reserved.