scrollWithIndex static method
Shifts the positions of the coordinates until the coordinate at firstCoordinateIndex
is first.
@param seq the coordinate sequence to rearrange @param indexOfFirstCoordinate the index of the coordinate to make first
Implementation
static void scrollWithIndex(
CoordinateSequence seq, int indexOfFirstCoordinate) {
scrollWithIndexAndRingcheck(
seq, indexOfFirstCoordinate, CoordinateSequences.isRing(seq));
}