Changeset 508 for trunk/SRC/Utilities/linearequation.pro
- Timestamp:
- 06/02/17 21:22:28 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/linearequation.pro
r371 r508 46 46 ; 47 47 48 if size(point1, /type) EQ 6 OR size(point1, /type) EQ 9 then begin 49 x1 = float(point1) 50 y1 = imaginary(point1) 51 ENDIF ELSE BEGIN 48 if size(point1, /type) EQ 6 OR size(point1, /type) EQ 9 then begin 49 x1 = real_part(point1) 50 y1 = imaginary(point1) 51 ENDIF ELSE BEGIN 52 if size(point1, /type) EQ 5 then begin 53 x1 = double(reform(point1[0, *])) 54 y1 = double(reform(point1[1, *])) 55 ENDIF ELSE BEGIN 52 56 x1 = float(reform(point1[0, *])) 53 57 y1 = float(reform(point1[1, *])) 54 ENDELSE 55 56 if size(point2, /type) EQ 6 OR size(point2, /type) EQ 9 then begin 57 x2 = float(point2) 58 y2 = imaginary(point2) 59 ENDIF ELSE BEGIN 58 ENDELSE 59 ENDELSE 60 61 if size(point2, /type) EQ 6 OR size(point2, /type) EQ 9 then begin 62 x2 = real_part(point2) 63 y2 = imaginary(point2) 64 ENDIF ELSE BEGIN 65 if size(point2, /type) EQ 5 then begin 66 x2 = double(reform(point2[0, *])) 67 y2 = double(reform(point2[1, *])) 68 ENDIF ELSE BEGIN 60 69 x2 = float(reform(point2[0, *])) 61 70 y2 = float(reform(point2[1, *])) 62 ENDELSE 63 71 ENDELSE 72 ENDELSE 73 64 74 vertical = where(x1 EQ x2) 65 75 novertical = where(x1 NE x2)
Note: See TracChangeset
for help on using the changeset viewer.