Package org.locationtech.jts.linearref
Class LocationIndexOfLine
java.lang.Object
org.locationtech.jts.linearref.LocationIndexOfLine
Determines the location of a subline along a linear
Geometry
.
The location is reported as a pair of LinearLocation
s.
Note: Currently this algorithm is not guaranteed to return the correct substring in some situations where an endpoint of the test line occurs more than once in the input line. (However, the common case of a ring is always handled correctly).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinearLocation[]
MD - this algorithm has been extracted into a class because it is intended to validate that the subline truly is a subline, and also to use the internal vertex information to unambiguously locate the subline.
-
Field Details
-
linearGeom
-
-
Constructor Details
-
LocationIndexOfLine
-
-
Method Details
-
indicesOf
MD - this algorithm has been extracted into a class because it is intended to validate that the subline truly is a subline, and also to use the internal vertex information to unambiguously locate the subline. -
indicesOf
-