@antv/g 5.15.4 → 5.15.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -5846,6 +5846,7 @@
5846
5846
  function piMod(angle) {
5847
5847
  return (angle + Math.PI * 2) % (Math.PI * 2);
5848
5848
  }
5849
+
5849
5850
  var line = {
5850
5851
  /**
5851
5852
  * 计算线段的包围盒
@@ -5940,6 +5941,7 @@
5940
5941
  return Math.atan2(y2 - y1, x2 - x1);
5941
5942
  }
5942
5943
  };
5944
+
5943
5945
  var EPSILON$1 = 0.0001;
5944
5946
  /**
5945
5947
  * 使用牛顿切割法求最近的点
@@ -6109,6 +6111,7 @@
6109
6111
  return piMod(angle);
6110
6112
  }
6111
6113
  };
6114
+
6112
6115
  function cubicAt(p0, p1, p2, p3, t) {
6113
6116
  var onet = 1 - t; // t * t * t 的性能大概是 Math.pow(t, 3) 的三倍
6114
6117
  return onet * onet * onet * p0 + 3 * p1 * t * onet * onet + 3 * p2 * t * t * onet + p3 * t * t * t;
@@ -6540,6 +6543,7 @@
6540
6543
  return piMod(Math.atan2(dy, dx));
6541
6544
  }
6542
6545
  };
6546
+
6543
6547
  function analyzePoints(points) {
6544
6548
  // 计算每段的长度和总的长度
6545
6549
  var totalLength = 0;
@@ -6652,6 +6656,7 @@
6652
6656
  }
6653
6657
  return minDistance;
6654
6658
  }
6659
+
6655
6660
  var polyline = {
6656
6661
  /**
6657
6662
  * 计算多折线的包围盒
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/g",
3
- "version": "5.15.4",
3
+ "version": "5.15.5",
4
4
  "description": "A core module for rendering engine implements DOM API.",
5
5
  "keywords": [
6
6
  "antv",
@@ -36,11 +36,11 @@
36
36
  "@antv/g-css-layout-api": "^1.0.23",
37
37
  "@antv/g-css-typed-om-api": "^1.0.23",
38
38
  "@antv/g-dom-mutation-observer-api": "^1.0.23",
39
- "@antv/g-lite": "^1.0.24",
39
+ "@antv/g-lite": "^1.0.25",
40
40
  "@antv/g-web-animations-api": "^1.0.23"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "71cc8cac9ed56ba4a019c0af69ceddfa07ec0ee3"
45
+ "gitHead": "d114ce9269ab77efae4395b1a93b569547a26402"
46
46
  }