I don't know what you mean. Do you want to get rid of the virtual functions? In that case why not store dimensions a member variable that you set to whatever you want it to be?
Can you give more details about what you need Relation to do? Just from what you've posted, there doesn't seem to be any need for inheritance at all, here.