CIRCLES2D Description of functions operating on circles. Circles are represented by their center and their radius: C = [xc yc r]; One sometimes considers orientation of circle, by adding an extra boolean value in 4-th position, with value TRUE for direct (i.e. turning Counter-clockwise) circles. Circle arcs are represented by their center, their radius, the starting angle and the angle extent, both in degrees: CA = [xc yc r theta0 dtheta]; Ellipses are represented by their center, their 2 semi-axis length, and their angle (in degrees) with Ox direction. E = [xc yc A B theta]; See also: ellipses2d, createCircle, createDirectedCircle, isPointInCircle, isPointOnCircle, enclosingCircle, circumCircle intersectLineCircle, intersectCircles, radicalAxis circleToPolygon, circleArcToPolyline drawCircle, drawCircleArc ------ Author: David Legland e-mail: david.legland@grignon.inra.fr Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) Copyright 2010 INRA - Cepia Software Platform.
0001 function circles2d(varargin) 0002 %CIRCLES2D Description of functions operating on circles. 0003 % 0004 % Circles are represented by their center and their radius: 0005 % C = [xc yc r]; 0006 % One sometimes considers orientation of circle, by adding an extra 0007 % boolean value in 4-th position, with value TRUE for direct (i.e. 0008 % turning Counter-clockwise) circles. 0009 % 0010 % Circle arcs are represented by their center, their radius, the starting 0011 % angle and the angle extent, both in degrees: 0012 % CA = [xc yc r theta0 dtheta]; 0013 % 0014 % Ellipses are represented by their center, their 2 semi-axis length, and 0015 % their angle (in degrees) with Ox direction. 0016 % E = [xc yc A B theta]; 0017 % 0018 % See also: 0019 % ellipses2d, createCircle, createDirectedCircle, 0020 % isPointInCircle, isPointOnCircle, enclosingCircle, circumCircle 0021 % intersectLineCircle, intersectCircles, radicalAxis 0022 % circleToPolygon, circleArcToPolyline 0023 % drawCircle, drawCircleArc 0024 % 0025 % ------ 0026 % Author: David Legland 0027 % e-mail: david.legland@grignon.inra.fr 0028 % Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) 0029 % Copyright 2010 INRA - Cepia Software Platform. 0030 0031 help('circles2d');