Path: Common/Graphics
% Polygon properties from vertex and face data. -------------------------------------------------------------------------- Form: [a, n, r, b] = PolygonProps( v, f ) -------------------------------------------------------------------------- ------- Inputs ------- v (:,3) Vertices f (:,3) Faces ------- Outputs ------- a (:,1) Area n (:,3) Normal r (:,3) Geometric center b (:,1) Equivalent radius --------------------------------------------------------------------------
Common: Graphics/Polygon Math: Linear/Cross Math: Linear/DupVect
Back to the Common Module page