The edge of the water in the swimming pool shall be no less than 10 feet from the nearest point of the house, if the house forms one of the boundaries to the enclosed area around the swimming pool. If the house does not form one of the boundaries of the enclosed area for the pool, this section will not apply.