Nov 6 2007

Calculate the center of a triangle

Here’s a simply guide on how to get the center of a triangle. It’s quick and to the point, minus all the math behind it.

There are many ways to calculate the center of a triangle, some have better results than others. The one I prefer is called the incenter

You have 3 points to a triangle, points A B and C. Each one has an x and y value. Simply take each of those values and add them up and divide by three.

x = (Ax + Bx + Cx) / 3
y = (Ay + By + Cy) / 3

TAGS:

LEAVE A COMMENT

Subscribe Form

Subscribe to Blog