A Theory of Geometrical Relations