geometrix 0.5.50 → 0.5.53
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.d.ts +4 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -48,10 +48,10 @@ declare function isWithin(aNew: number, aStart: number, aStop: number, ccw: bool
|
|
|
48
48
|
/**
|
|
49
49
|
* Calculate the coordiantes [X,Y] of B, starting from A[x,y] and translate with angle aAB and length lAB
|
|
50
50
|
*
|
|
51
|
-
* @param ax
|
|
52
|
-
* @param ay
|
|
53
|
-
* @param aAB
|
|
54
|
-
* @param lAB
|
|
51
|
+
* @param ax - X-coordiante of point A
|
|
52
|
+
* @param ay - Y-coordiante of point A
|
|
53
|
+
* @param aAB - angle of translation vector AB in radian
|
|
54
|
+
* @param lAB - length of translation vector AB
|
|
55
55
|
* @returns [Bx, By] coordinates of point B
|
|
56
56
|
*/
|
|
57
57
|
declare function pointCoord(ax: number, ay: number, aAB: number, lAB: number): [number, number];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geometrix",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.53",
|
|
4
4
|
"description": "The 2D geometry engine of the parametrix",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@eslint/js": "^9.10.0",
|
|
71
71
|
"@types/eslint__js": "^8.42.3",
|
|
72
|
-
"@types/node": "^22.7.
|
|
72
|
+
"@types/node": "^22.7.8",
|
|
73
73
|
"eslint": "^9.13.0",
|
|
74
74
|
"eslint-config-prettier": "^9.1.0",
|
|
75
|
-
"npm-run-all2": "^
|
|
75
|
+
"npm-run-all2": "^7.0.0",
|
|
76
76
|
"prettier": "^3.3.3",
|
|
77
77
|
"rimraf": "^6.0.1",
|
|
78
78
|
"tsup": "^8.3.0",
|
|
79
79
|
"typescript": "^5.6.3",
|
|
80
|
-
"typescript-eslint": "^8.
|
|
80
|
+
"typescript-eslint": "^8.11.0",
|
|
81
81
|
"vitest": "^2.1.3"
|
|
82
82
|
}
|
|
83
83
|
}
|