@thi.ng/geom-clip-poly 2.1.212 → 2.1.214
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/README.md +13 -12
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/geom-clip-poly)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
|
|
26
27
|
## About
|
|
27
28
|
|
|
28
|
-
2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann). This is a support package for [@thi.ng/geom](https://
|
|
29
|
+
2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann). This is a support package for [@thi.ng/geom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom).
|
|
29
30
|
|
|
30
31
|
Current implementations are based on [toxiclibs](http://toxiclibs.org)
|
|
31
32
|
(Java) and Clojure versions [thi.ng/geom-clj](http://thi.ng/geom-clj).
|
|
@@ -34,11 +35,11 @@ Current implementations are based on [toxiclibs](http://toxiclibs.org)
|
|
|
34
35
|
|
|
35
36
|
**STABLE** - used in production
|
|
36
37
|
|
|
37
|
-
[Search or submit any issues for this package](https://
|
|
38
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bgeom-clip-poly%5D)
|
|
38
39
|
|
|
39
40
|
## Related packages
|
|
40
41
|
|
|
41
|
-
- [@thi.ng/geom-clip-line](https://
|
|
42
|
+
- [@thi.ng/geom-clip-line](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-clip-line) - 2D line clipping (Liang-Barsky)
|
|
42
43
|
|
|
43
44
|
## Installation
|
|
44
45
|
|
|
@@ -70,10 +71,10 @@ Package sizes (brotli'd, pre-treeshake): ESM: 317 bytes
|
|
|
70
71
|
|
|
71
72
|
## Dependencies
|
|
72
73
|
|
|
73
|
-
- [@thi.ng/geom-isec](https://
|
|
74
|
-
- [@thi.ng/geom-poly-utils](https://
|
|
75
|
-
- [@thi.ng/math](https://
|
|
76
|
-
- [@thi.ng/vectors](https://
|
|
74
|
+
- [@thi.ng/geom-isec](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-isec)
|
|
75
|
+
- [@thi.ng/geom-poly-utils](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-poly-utils)
|
|
76
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
77
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
77
78
|
|
|
78
79
|
## API
|
|
79
80
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-clip-poly",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.214",
|
|
4
4
|
"description": "2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/geom-clip-poly"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/geom-clip-poly",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/geom-isec": "^4.0.
|
|
44
|
-
"@thi.ng/geom-poly-utils": "^3.1.
|
|
45
|
-
"@thi.ng/math": "^5.15.
|
|
46
|
-
"@thi.ng/vectors": "^8.6.
|
|
43
|
+
"@thi.ng/geom-isec": "^4.0.82",
|
|
44
|
+
"@thi.ng/geom-poly-utils": "^3.1.19",
|
|
45
|
+
"@thi.ng/math": "^5.15.7",
|
|
46
|
+
"@thi.ng/vectors": "^8.6.26"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"esbuild": "^0.27.2",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"tag": "clipping",
|
|
87
87
|
"year": 2013
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
90
90
|
}
|