static getVertices(ringConnections, firstRingId, secondRingId) {
    for (let i = 0; i < ringConnections.length; i++) {
      let ringConnection = ringConnections[i];

      if (ringConnection.firstRingId === firstRingId && ringConnection.secondRingId === secondRingId || ringConnection.firstRingId === secondRingId && ringConnection.secondRingId === firstRingId) {
        return [...ringConnection.vertices];
      }
    }
  }
Returns an array of vertex ids associated with a given ring connection.

@static
@param {RingConnection[]} ringConnections An array of ring connections containing ring connections associated with the current molecule.
@param {Number} firstRingId A ring id.
@param {Number} secondRingId A ring id.
@returns {Number[]} An array of vertex ids associated with the ring connection.