Calculating the angle between faces

How does Soildworks calculate the angle between faces when using the measure tool, or selecting the two faces? Is it comparing the normal vectors of the faces, or comparing points?

SolidworksParts And Features