The current system for coordinate calculation is based on trig relationships. It is much better and more general to use barycentric calculations based on specifying the vertex coordinates. This will make it much easier to support having A, B and C in different positions around the triangle.