------------------------------------------------------------------------------- Compute a centroid from a set of vertices. ------------------------------------------------------------------------------- Form: c = Centroid( v ) ------------------------------------------------------------------------------- ------ Inputs ------ v (3,:) Polygon vertices ------- Outputs ------- c (3,1) Centroid -------------------------------------------------------------------------------