eachMember(vertices, callback, startVertexId, previousVertexId) {
    startVertexId = startVertexId || startVertexId === 0 ? startVertexId : this.members[0];
    let current = startVertexId;
    let max = 0;

    while (current != null && max < 100) {
      let prev = current;
      callback(prev);
      current = vertices[current].getNextInRing(vertices, this.id, previousVertexId);
      previousVertexId = prev; // Stop while loop when arriving back at the start vertex

      if (current == startVertexId) {
        current = null;
      }

      max++;
    }
  }
Loops over the members of this ring from a given start position in a direction opposite to the vertex id passed as the previousId.

@param {Vertex[]} vertices The vertices associated with the current molecule.
@param {Function} callback A callback with the current vertex id as a parameter.
@param {Number} startVertexId The vertex id of the start vertex.
@param {Number} previousVertexId The vertex id of the previous vertex (the loop calling the callback function will run in the opposite direction of this vertex).