POLYLINEPOINT Extract a point from a polyline.
POINT = polylinePoint(POLYLINE, POS)
POLYLINE is a N*2 array containing coordinate of polyline vertices
POS is comprised between 0 (first point of polyline) and Nv-1 (last
point of the polyline).
Example
poly = [10 10;20 10;20 20;30 30];
polylinePoint(poly, 0)
[10 10]
polylinePoint(poly, 3)
[30 30]
polylinePoint(poly, 1.4)
[20 14]
See also
polygons2d
------
Author: David Legland
e-mail: david.legland@grignon.inra.fr
Created: 2009-04-30, using Matlab 7.7.0.471 (R2008b)
Copyright 2009 INRA - Cepia Software Platform.
Package: matgeom