Baricentro
Author: AC
Date: 14 janeiro 2013

Figura 1

A = (-0.9, -0.06)
B = (4.04, 0.04)
C = (1.66, 4.56)
polígono1, c, a, b = Polygon(A, B, C)
M_C = Midpoint(A, B)
M_B = Midpoint(A, C)
M_A = Midpoint(C, B)
d = Segment(M_B, B)
e = Segment(C, M_C)
f = Segment(A, M_A)
G = Intersect(d, e)