LinearIterator constructor

LinearIterator(
  1. Geometry linear
)

Creates an iterator initialized to the start of a linear {@link Geometry}

@param linear the linear geometry to iterate over @throws IllegalArgumentException if linearGeom is not lineal

Implementation

LinearIterator(Geometry linear) : this.withIndexes(linear, 0, 0);