Class SubstringLine
java.lang.Object
org.opentrafficsim.road.network.factory.shape.SubstringLine
public class SubstringLine
extends java.lang.Object
- Author:
 - P070518
 
- 
Constructor Summary
Constructors Constructor Description SubstringLine(org.locationtech.jts.geom.LineString line) - 
Method Summary
Modifier and Type Method Description org.locationtech.jts.geom.LineStringgetSubstring(double startDistance, double endDistance)static org.locationtech.jts.geom.LineStringgetSubstring(org.locationtech.jts.geom.LineString line, double startLength, double endLength) 
- 
Constructor Details
- 
SubstringLine
public SubstringLine(org.locationtech.jts.geom.LineString line) 
 - 
 - 
Method Details
- 
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) 
 -