jinx 2 năm trước cách đây
mục cha
commit
b514fab27c

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
server/test/a0k4xu045_202305311600080410/attach/sceneStore


+ 2 - 2
src/graphic/Constant.js

@@ -34,8 +34,8 @@ const Constant = {
   maxRoadSideWidth: 800,
   maxRoadSideWidth: 800,
   oneWay: "oneWay", //one表示单向,two表示双向
   oneWay: "oneWay", //one表示单向,two表示双向
   twoWay: "twoWay", //one表示单向,two表示双向
   twoWay: "twoWay", //one表示单向,two表示双向
-  defaultSingleLaneWidth: 30, //单个车道的宽度
-  defaultMidDivideWidth: 5, //隔离带的宽度
+  defaultSingleLaneWidth: 35, //单个车道的宽度
+  defaultMidDivideWidth: 2, //隔离带的宽度
   angleLocationMode: "AngleLocationMode", //直角定位
   angleLocationMode: "AngleLocationMode", //直角定位
   allLocationMode: "AllLocationMode", //综合定位
   allLocationMode: "AllLocationMode", //综合定位
   normalLocationMode: "NormalLocationMode", //自由测量
   normalLocationMode: "NormalLocationMode", //自由测量

+ 4 - 4
src/graphic/Geometry/Circle.js

@@ -25,18 +25,18 @@ export default class Circle extends Geometry {
   initPoints() {
   initPoints() {
     this.points[0] = {
     this.points[0] = {
       x: this.center.x,
       x: this.center.x,
-      y: this.center.y + this.radius,
+      y: this.center.y + this.radiusY,
     };
     };
     this.points[1] = {
     this.points[1] = {
-      x: this.center.x + this.radius,
+      x: this.center.x + this.radiusX,
       y: this.center.y,
       y: this.center.y,
     };
     };
     this.points[2] = {
     this.points[2] = {
       x: this.center.x,
       x: this.center.x,
-      y: this.center.y - this.radius,
+      y: this.center.y - this.radiusY,
     };
     };
     this.points[3] = {
     this.points[3] = {
-      x: this.center.x - this.radius,
+      x: this.center.x - this.radiusX,
       y: this.center.y,
       y: this.center.y,
     };
     };
   }
   }