GetNearestPipeOfNetworkToAlignment Method