Professional Documents
Culture Documents
Let a triangle be dened in the xy plane by three points (x1 , y1 ), (x2 , y2 ), (x3 , y3 ) with the origin of the coordinates taken at the centroid (or baricentre), i.e., x 1 + x2 + x3 y1 + y2 + y3 =0 = 3 3 Then integrating over the triangle area we obtain: 1 dx dy = 2 x dx dy = x 2 dx dy = y 2 dx dy = x y dx dy = 1 x1 1 x2 1 x3 y1 y2 y3 = = area of triangle
y dx dy = 0
2 2 2 x1 + x2 + x3
12 12 12
2 2 2 y1 + y2 + y3
(x1 y1 + x2 y2 + x3 y3 )