Changeset 3735
- Timestamp:
- 05/12/10 15:30:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Mesh/ProfileProjectOntoMesh.m
r2110 r3735 14 14 %[x0,y0] = intersections(profile.x,profile.y,x,y,1); 15 15 [x0,y0,indices,j] = intersections(profile.x,profile.y,x,y); 16 % sort intersections to create segments in order and continuous along profile 17 [indices,isort]=sort(indices); 18 j =j (isort); 19 x0=x0(isort); 20 y0=y0(isort); 16 21 17 22 %process x0,y0 so they do not include profile.x or profile.y
Note:
See TracChangeset
for help on using the changeset viewer.