I have a triangle. Each of the 3 corners is assigned a different value. Lets say corner 1 is 100, corner 2 is 200, and corner 3 is 300. I want to pick a coordinate in the middle of the triangle and find its relative value. So if it were in the very middle, it would have a value of 200 (100+200+300 / 3). How would I find its value if it is not in the very middle? For example, if it was a distance of 10 from corner 1, and a distance of 80 from corner 2, and a distance of 100 from corner 3, I would want corner's value to have a lot of influence, and corner's 2 and 3 to have less influence.
Sorry for the poor wording. Math is not really my thing. Let me know if I can help clarify.