How to calculate an angle?

A post was split to a new topic: How to define vessel centerline