LinearIterator.withStart constructor
LinearIterator.withStart(
- Geometry linear,
- LinearLocation start
Creates an iterator starting at a {@link LinearLocation} on a linear {@link Geometry}
@param linear the linear geometry to iterate over @param start the location to start at @throws IllegalArgumentException if linearGeom is not lineal
Implementation
LinearIterator.withStart(Geometry linear, LinearLocation start)
: this.withIndexes(
linear, start.getComponentIndex(), segmentEndVertexIndex(start));