Changeset 954 for trunk/src/mouse_up.m
- Timestamp:
- Jun 22, 2016, 1:36:50 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_up.m
r924 r954 95 95 else 96 96 switch ObjectData.Type 97 case {'line' }97 case {'line','plane_z'} 98 98 if size(ObjectData.Coord,1)==1 % this is the mouse up for the first point, continue until next click 99 99 check_multiple=1; … … 106 106 check_multiple=1;% pass to next mous up if width of height=0 107 107 end 108 case 'plane' %case of 'plane' 108 case 'plane' %case of 'plane', TODO: NOT ACTIVATED 109 109 DX=(xy(1,1)-ObjectData.Coord(1,1)); 110 110 DY=(xy(1,2)-ObjectData.Coord(1,2)); … … 116 116 end 117 117 end 118 case 'plane_z' 119 if size(ObjectData.Coord,1)==1 % this is the mouse up for the first point, continue until next click 120 check_multiple=1; 121 end 122 DX=(xy(1,1)-ObjectData.Coord(1,1)); 123 DY=(xy(1,2)-ObjectData.Coord(1,2)); 124 ObjectData.Phi=(angle(DX+i*DY))*180/pi;%rectangle width 118 125 otherwise 119 126 check_multiple=1;
Note: See TracChangeset
for help on using the changeset viewer.