A private residential swimming pool area must be surrounded by a suitable fence with a self-latching gate of at least four feet, but no more than six feet, in height, and the fence shall be set back from any lot line at least ten feet if the fence exceeds four feet in height.