Source Code
1. Function Circle (C, R, NSIDES)% do you use "Nargin" and "line (x, y, z)"?
2. Function Plotpoint (p, mark, txt)% "Text (x, y, txt)"
3. Function T = Homotrans (p, v);% "t = p * v"; "THEN NORMALIZED T"; x = t (1, :); y = t (2, :)
4. Function Hline (a, b, c)% Plot 2D line from homogeneous coordinates; use "isa"
5. Function C = Hcross (A, B)% C = Cross (A, B); C = C / C (3);
6. Function [I1, I2] = Circractersect (C1, R1, C2, R2, LR)
% COSR2 = (B ^ 2 R1 ^ 2 - R2 ^ 2) / (2 * b * r1); SINR2 = SQRT (1-COSR2 ^ 2);
% I