We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Compute the perimeter of a polygon.
L = polygonLength(POLY);
Computes the boundary length of the input polygon POLY. POLY is given by a N-by-2 array of vertices.
POLY
% Perimeter of a circle approximation poly = circleToPolygon([0 0 1], 200); polygonLength(poly)
Result: ans = 6.2829
polygons2d, polygonCentroid, polygonArea, drawPolygon, polylineLength
Home
geom2d
polygons2d
polynomialCurves2d
geom3d
meshes3d
graphs
Coding conventions
Contributors