POINTS2D Description of functions operating on points. A point is defined by its two cartesian coordinate, put into a row vector of 2 elements: P = [x y]; Several points are stored in a matrix with two columns, one for the x-coordinate, one for the y-coordinate. PTS = [x1 y1 ; x2 y2 ; x3 y3]; Example P = [5 6]; See also: centroid, midPoint, boundingBox, polarPoint distancePoints, minDistancePoints, nndist, circumCenter isCounterClockwise, angle2Points, angle3Points, angleSort transformPoint, clipPoints, drawPoint
0001 function points2d 0002 %POINTS2D Description of functions operating on points. 0003 % 0004 % A point is defined by its two cartesian coordinate, put into a row 0005 % vector of 2 elements: 0006 % P = [x y]; 0007 % 0008 % Several points are stored in a matrix with two columns, one for the 0009 % x-coordinate, one for the y-coordinate. 0010 % PTS = [x1 y1 ; x2 y2 ; x3 y3]; 0011 % 0012 % Example 0013 % P = [5 6]; 0014 % 0015 % See also: 0016 % centroid, midPoint, boundingBox, polarPoint 0017 % distancePoints, minDistancePoints, nndist, circumCenter 0018 % isCounterClockwise, angle2Points, angle3Points, angleSort 0019 % transformPoint, clipPoints, drawPoint 0020 % 0021 0022 % ------ 0023 % Author: David Legland 0024 % e-mail: david.legland@inra.fr 0025 % Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) 0026 % Copyright 2008 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas. 0027 0028 help('points2d');