Roof-top bike rack crash
The problem here is that with a carbon or aluminum frame it will be hard to assess the damage accurately (at least with the tools that we or a LBS is likely to have). The best tool that you've got is evidence of stress on the frame – like the cracked paint in the photos of bike 1.

Add to this the likelihood that aluminum or carbon will fail dramatically and suddenly if they are damaged and it just seems prudent to replace the frame.