npq_poly
Normalized central polygon moments
m = npq_poly(v, p, q) is the PQ'th normalized central moment of the
polygon with vertices described by the columns of v.
Notes
- The points must be sorted such that they follow the perimeter in
sequence (counter-clockwise).
- If the points are clockwise the moments will all be negated, so centroids
will be still be correct.
- If the first and last point in the list are the same, they are considered
as a single vertex.
- The normalized central moments are invariant to translation and scale.
See also
mpq_poly, mpq, npq, upq, Polygon
© 1990-2012 Peter Corke.