scroll static method
Shifts the positions of the coordinates until firstCoordinate
is first.
@param seq the coordinate sequence to rearrange @param firstCoordinate the coordinate to make first
Implementation
static void scroll(CoordinateSequence seq, Coordinate firstCoordinate) {
int i = indexOf(firstCoordinate, seq);
if (i <= 0) return;
scrollWithIndex(seq, i);
}