Changeset 4041
- Timestamp:
- 06/11/10 15:57:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Mesh/intersections.m
r2110 r4041 148 148 repmat(max(y1(1:end-1),y1(2:end)),1,n2) >= ... 149 149 repmat(min(y2(1:end-1),y2(2:end)).',n1,1)); 150 151 % For one segment in x1,y1, i and j are returned as row vectors. They 152 % need to be column vectors, or iout and jout below will err out. 153 % (jes, 6/11/10) 154 155 if (size(i,1) == 1) 156 i=i'; 157 end 158 if (size(j,1) == 1) 159 j=j'; 160 end 150 161 151 162 % Find segments pairs which have at least one vertex = NaN and remove them.
Note:
See TracChangeset
for help on using the changeset viewer.