3D topological structure management within a DBMS