| Package | Description |
|---|---|
| com.vividsolutions.jts.linearref |
Contains classes and interfaces implementing linear referencing on linear geometries
|
| Modifier and Type | Method and Description |
|---|---|
LinearLocation |
LocationIndexedLine.clampIndex(LinearLocation
Computes a valid index for this line by clamping the given index to the valid range of index values
|
LinearLocation |
LocationIndexedLine.getEndIndex()
Returns the index of the end of the line
|
static LinearLocation |
LinearLocation.getEndLocation(Geometry
Gets a location which refers to the end of a linear
Geometry.
|
LinearLocation |
LengthLocationMap.getLocation(double length)
Compute the
LinearLocation corresponding to a length.
|
LinearLocation |
LengthLocationMap.getLocation(double length, boolean resolveLower)
Compute the
LinearLocation corresponding to a length.
|
static LinearLocation |
LengthLocationMap.getLocation(Geometry
Computes the
LinearLocation for a given length along a linear
Geometry.
|
static LinearLocation |
LengthLocationMap.getLocation(Geometry
Computes the
LinearLocation for a given length along a linear
Geometry, with control over how the location is resolved at component endpoints.
|
LinearLocation |
LocationIndexedLine.getStartIndex()
Returns the index of the start of the line
|
LinearLocation |
LocationIndexedLine.indexOf(Coordinate
Computes the index for a given point on the line.
|
LinearLocation |
LocationIndexedLine.indexOfAfter(Coordinate
Finds the index for a point on the line which is greater than the given index.
|
LinearLocation |
LocationIndexedLine.indicesOf(Geometry
Computes the indices for a subline of the line.
|
LinearLocation |
LocationIndexedLine.project(Coordinate
Computes the index for the closest point on the line to the given point.
|
LinearLocation |
LinearLocation.toLowest(Geometry
Converts a linear location to the lowest equivalent location index.
|
| Modifier and Type | Method and Description |
|---|---|
LinearLocation |
LocationIndexedLine.clampIndex(LinearLocation
Computes a valid index for this line by clamping the given index to the valid range of index values
|
Geometry |
LocationIndexedLine.extractLine(LinearLocation
Computes the
LineString for the interval on the line between the given indices.
|
Coordinate |
LocationIndexedLine.extractPoint(LinearLocation
Computes the
Coordinate for the point on the line at the given index.
|
Coordinate |
LocationIndexedLine.extractPoint(LinearLocation
Computes the
Coordinate for the point on the line at the given index, offset by the given distance.
|
static double |
LengthLocationMap.getLength(Geometry
Computes the length for a given
LinearLocation on a linear
Geometry.
|
double |
LengthLocationMap.getLength(LinearLocation
|
LinearLocation |
LocationIndexedLine.indexOfAfter(Coordinate
Finds the index for a point on the line which is greater than the given index.
|
boolean |
LinearLocation.isOnSameSegment(LinearLocation
Tests whether two locations are on the same segment in the parent
Geometry.
|
boolean |
LocationIndexedLine.isValidIndex(LinearLocation
Tests whether an index is in the valid index range for the line.
|
| Constructor and Description | |
|---|---|
LinearIterator(Geometry
Creates an iterator starting at a
LinearLocation on a linear
Geometry
|
|
LinearLocation(LinearLocation
Creates a new location equal to a given one.
|