Solid CAD Geometries in a Spatial DBMS: An Application in the Petrochemical Industry