(a) Swimming pool is hereby defined as a receptacle for water, or an artificial pool of water having a depth of any point of more than two feet, intended for the purpose of immersion or partial immersion therein of human beings, and including all appurtenant equipment. Such swimming pools may be either private or public. (b) No swimming pool shall be so operated or maintained as to create a nuisance, hazard, eyesore, or otherwise to result in a substantial adverse affect on the neighboring properties, or to be in any other way detrimental to the public health, safety and welfare.