EDGETOPOLYLINE Convert an edge to a polyline with a given number of segments.
POLY = edgeToPolyline(EDGE, N)
Example
edge = [10 20 60 40];
poly = edgeToPolyline(edge, 10);
drawEdge(edge, 'lineWidth', 2);
hold on
drawPoint(poly);
axis equal;
See also
edges2d, drawEdge, drawPolyline
------
Author: David Legland
e-mail: david.legland@grignon.inra.fr
Created: 2011-11-25, using Matlab 7.9.0.529 (R2009b)
Copyright 2011 INRA - Cepia Software Platform.
Package: matgeom