function mesh=resortIndex(mesh,theta,err) %查找对应索引 dstIndex=find((abs(mesh.Vertex(:,2))err)); tempTheta=atan(mesh.Vertex(:,2)./mesh.Vertex(:,1)); srcIndex=find(abs(tempTheta-theta)