POLYGONSIGNATURE Polar signature of a polygon (polar distance to origin).
DISTS = polygonSignature(POLY, THETALIST)
Computes the polar signature of a polygon, for a set of angles in
degrees. If a ray at a given angle does not intersect the polygon, the
corresponding distance value is set to NaN.
DISTS = polygonSignature(POLY, N)
When N is a scalar, uses N angles equally distributed between 0 and 360
degrees.
[DISTS, THETA] = polygonSignature(...)
Also returns the angle set for which the signature was computed.
Example
polygonSignature
See also
polygons2d, signatureToPolygon, intersectRayPolygon
Package: matgeom