Geometry measurement, from where to where
Yes, you are correct. The seat tube angle is measured relative to horizontal. 

There is also a separate angle called "derailleur angle", which is measured between the seat tube and chainstays. You'll rarely find it specified in the geometry data though...