Gets a geometry extents of a dimension entity. This is a rewritten implementation of OdDbEntity::getGeomExtents().