
Seems to me ...
Trig is based on measurements of the triangle itself: what is the length of each side, what are the angles, etc. This method seems to enable doing formulas directly on the coordinates. I could be mis-reading -- okay, I didn't read the whole thing -- but that's what it looked like.
===
Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]