Peter's Projective Matlab Function

xiaoxiao2021-03-06  185

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

转载请注明原文地址:https://www.9cbs.com/read-128234.html

New Post(0)