Description of functions operating on 3D circles. Circles are represented by a center, a radius and a 3D angle representing the normal of the plane containing the circle. C = [xc yc zc R theta phi psi]. THETA is the colatitude of the normal, in degrees, between 0 and 180 PHI is the azimut of the normal, in degrees, between 0 and 360 PSI is the proper rotation of the circle around the normal, between 0 and 360 degrees The parameter PSI is used to locate a point on the 3D circle. See also circle3dOrigin, circle3dPosition, circle3dPoint, intersectPlaneSphere drawCircle3d, drawCircleArc3d, drawEllipse3d
0001 function circles3d(varargin) 0002 % Description of functions operating on 3D circles. 0003 % 0004 % Circles are represented by a center, a radius and a 3D angle 0005 % representing the normal of the plane containing the circle. 0006 % C = [xc yc zc R theta phi psi]. 0007 % THETA is the colatitude of the normal, in degrees, between 0 and 180 0008 % PHI is the azimut of the normal, in degrees, between 0 and 360 0009 % PSI is the proper rotation of the circle around the normal, between 0 0010 % and 360 degrees 0011 % The parameter PSI is used to locate a point on the 3D circle. 0012 % 0013 % See also 0014 % circle3dOrigin, circle3dPosition, circle3dPoint, intersectPlaneSphere 0015 % drawCircle3d, drawCircleArc3d, drawEllipse3d 0016 % 0017 0018 % ------ 0019 % Author: David Legland 0020 % e-mail: david.legland@inrae.fr 0021 % Created: 2008-10-13, using Matlab 7.4.0.287 (R2007a) 0022 % Copyright 2008 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas.