A new algorithm to automatically extract the drainage networks and catchments based on triangulation irregular network digital elevation model