If upon a view of the inquest returned by the sheriff and other evidence, if any shall be produced, it shall appear to the court that the dwelling of the proprietor, or outhouses, curtilages, or gardens thereunto belonging, or orchards, or fields will be overflowed, or that the health of the neighborhood will be materially annoyed by the stagnation of the waters consequent upon the erection of the proposed dam, then the court shall not permit the dam to be erected.