yy1717
2021-04-13 89bb77a1280b9a117bfde34cbc62f92582d9a8b5
适应多条曲线
1个文件已修改
6 ■■■■■ 已修改文件
app/src/main/java/safeluck/drive/evaluation/fragment/MapFragment.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app/src/main/java/safeluck/drive/evaluation/fragment/MapFragment.java
@@ -537,8 +537,6 @@
            if (map_other[x] == null || map_other[x].length == 0) {
                continue;
            }
            Log.d(TAG, "预绘制曲线 " + x + " 点数 "+ map_other[x].length);
            for (int i = 0; map_other[x] != null && i < map_other[x].length; i++) {
                PointF oldPoint = new PointF(map_other[x][i][0], map_other[x][i][1]);
                PointF newPoint = rotatePoint(oldPoint, mainPoint, yaw);
@@ -1285,8 +1283,6 @@
                            for(int j=0; j<pointBeanList.size();j++){
                                List<Double> xys = pointBeanList.get(j).getXy();
                                Log.d(TAG, String.format("123 j = %d size = %d", j, xys.size()));
                                if(j==0){
                                    map = new double[xys.size()/2][2];
                                    allMap[sanwei] = new double[xys.size()/2][2];
@@ -1338,8 +1334,6 @@
                                for(int j=0; j<pointBeanList.size();j++){
                                    List<Double> xys = pointBeanList.get(j).getXy();
                                    Log.d(TAG, String.format("j = %d size = %d", j, xys.size()));
                                    if(j==0){
                                        map = new double[xys.size()/2][2];