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