Calculate angle between two segments

Greetings,

Get two points (e.g. along axis of symmetry) from each segment. Two points gives you a vector for each segment. Calculate cross or dot product of that vectors, that gives you either sine or cosine value of the angle.

The problem is how to calculate two points along axis of symmetry, or something like that? If the task is not on the plane, then you need three points.