The following regulations shall apply to swimming pools: (1) Private swimming pools may be established in agricultural and residential zoning districts, provided they are to be used solely by the occupants and guests of the property on which the pool is located. No part of the swimming pool may extend into any required front yard in an agricultural zone or into any required front or side yard in a residential zone. They shall be enclosed by a fence or wall not less than four feet in height. (2) Public swimming pools may be established in any zoning district. They shall be enclosed by a fence or wall adjacent to the pool decking of not less than six feet in height to prevent uncontrolled access.