PolygonProps:

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

--------------------------------------------------------------------------

Children:

Common: Graphics/Polygon

Back to the Common Module page