For plane symmetry, the Gaussian box is suitable, for example, for calculating the electric field of a charged infinitely extended plane $$P$$.