polyArea edit page

area of a flat polygon given by vertices v1, v2, ..., v_n

Syntax

area = polyArea(v,varargin)

Input

v vector3d

Output

area area the polygon v1, v2, ..., v_n