
PolygonArea requires (last vertex) = (first vertex)

doru
In particular, for a given set of vertices (xwave,ywave) the value of PolygonArea(xwave,ywave) is not constant under cyclic permutation (e.g. operation Rotate).
The documentation states: "returns the area of a simple, closed, ..."
In order to have a "closed" contour you must have firstPoint=lastPoint.
A.G.
WaveMetrics, Inc.
July 22, 2013 at 11:10 am - Permalink