Every female dog or cat in heat shall be confined in a building or other enclosure in such manner that such female animal cannot come into contact with another sexually intact animal of the same species except for planned breeding.