For the interaction relation between geological object and engineering object in some fields related to water conservancy and hydropower, a unified modeling idea was proposed. On the basis of summarizing both advantages and disadvantages of existing modeling methods, an automatic unified modeling method of both engineering and geological objects based on tri-prism(TP) model was presented. Through the lossless correction algorithm of deviated drill holes contained in this method, the real deviated drill holes could be corrected into the equivalent virtual vertical ones. And the correction accuracy fully meets the requirements of unified modeling. With the virtual vertical drilling data, TIN construction of both cover layer and other stratums would be built in order to obtain the 3D geological model. Then, the engineering design data would be introduced into the 3D geological model for achieving unified modeling. For this process, the volume subdividing and restructuring principles were introduced to deal with the spatial relationships between engineering object and geological object. In order to improve the efficiency of unified modeling, the reconstruction of TIN based on constraint information was also applied in this method. At last, the feasibility and validation of the unified modeling method as well as its relevant key algorithms were verified by specific experiments and analysis of results.