Influence of restricted geometries on the direct energy transfer