Geometry
Base b, height h; apex position c for the triangle, top width a for the trapezoidCentroid lies h/3 above the base for the triangle and h(2a+b)/(3(a+b)) above the base for the trapezoid. If the apex / top edge is offset from the centre, Ixy ≠ 0 and the principal axes rotate.