Path: Common/Graphics
% Compute a centroid from a set of vertices. -------------------------------------------------------------------------- Form: c = Centroid( v ) -------------------------------------------------------------------------- ------ Inputs ------ v (3,:) Polygon vertices ------- Outputs ------- c (3,1) Centroid --------------------------------------------------------------------------
Back to the Common Module page