public boolean overlaps(RowSegment<E> other) {
		if (getLeftCol() > other.getRightCol()) {
			return false;
		}
		if (getRightCol() < other.getLeftCol()) {
			return false;
		}
		// if the rows are exactly adjacent and if where they touch they are both attached
		// to terminal column segments, then don't consider them to overlap.
		if (getLeftCol() == other.getRightCol()) {
			return !(isLeftTerminal() && other.isRightTerminal());
		}
		else if (getRightCol() == other.getLeftCol()) {
			return !(isRightTerminal() && other.isLeftTerminal());
		}

		return true;
	}
Checks if the given row segment overlaps horizontally.
@param other the other column segment to compare
@return true if these would overlap if drawn with same y row coordinate
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/graph/layout/flowchart/RowSegment.java