LINES2D Description of functions operating on planar lines. The term 'line' refers to a planar straight line, which is an unbounded curve. Line segments defined between 2 points, which are bounded, are called 'edge', and are presented in file 'edges2d'. A straight line is defined by a point (its origin), and a vector (its direction). The parameters are bundled into a 1-by-4 row vector: LINE = [x0 y0 dx dy]; A line contains all points (x,y) such that: x = x0 + t*dx y = y0 + t*dy; for all t between -infinity and +infinity. See also: points2d, vectors2d, edges2d, rays2d createLine, cartesianLine, medianLine, edgeToLine, lineToEdge orthogonalLine, parallelLine, bisector, radicalAxis lineAngle, linePosition, projPointOnLine isPointOnLine, distancePointLine, isLeftOriented intersectLines, intersectLineEdge, clipLine reverseLine, transformLine, drawLine lineFit
0001 function lines2d(varargin) 0002 %LINES2D Description of functions operating on planar lines. 0003 % 0004 % The term 'line' refers to a planar straight line, which is an unbounded 0005 % curve. Line segments defined between 2 points, which are bounded, are 0006 % called 'edge', and are presented in file 'edges2d'. 0007 % 0008 % A straight line is defined by a point (its origin), and a vector (its 0009 % direction). The parameters are bundled into a 1-by-4 row vector: 0010 % LINE = [x0 y0 dx dy]; 0011 % 0012 % A line contains all points (x,y) such that: 0013 % x = x0 + t*dx 0014 % y = y0 + t*dy; 0015 % for all t between -infinity and +infinity. 0016 % 0017 % See also: 0018 % points2d, vectors2d, edges2d, rays2d 0019 % createLine, cartesianLine, medianLine, edgeToLine, lineToEdge 0020 % orthogonalLine, parallelLine, bisector, radicalAxis 0021 % lineAngle, linePosition, projPointOnLine 0022 % isPointOnLine, distancePointLine, isLeftOriented 0023 % intersectLines, intersectLineEdge, clipLine 0024 % reverseLine, transformLine, drawLine 0025 % lineFit 0026 0027 % ------ 0028 % Author: David Legland 0029 % e-mail: david.legland@inra.fr 0030 % Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) 0031 % Copyright 2008 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas. 0032 0033 help('lines2d');