@thi.ng/geom-clip-poly 2.1.6 → 2.1.9

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +4 -7
  3. package/package.json +14 -12
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2021-12-13T10:26:00Z
3
+ - **Last updated**: 2022-04-07T14:17:30Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -20,13 +20,10 @@ This project is part of the
20
20
 
21
21
  ## About
22
22
 
23
- 2D convex polygon clipping (Sutherland-Hodgeman). This is a support package for [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom).
23
+ 2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann). This is a support package for [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom).
24
24
 
25
- Current implementation is based on [toxiclibs](http://toxiclibs.org)
26
- (Java) and Clojure version [thi.ng/geom-clj](http://thi.ng/geom-clj).
27
-
28
- This package has been extracted from the former (now obsolete)
29
- @thi.ng/geom-clip package.
25
+ Current implementations are based on [toxiclibs](http://toxiclibs.org)
26
+ (Java) and Clojure versions [thi.ng/geom-clj](http://thi.ng/geom-clj).
30
27
 
31
28
  ### Status
32
29
 
@@ -93,4 +90,4 @@ If this project contributes to an academic publication, please cite it as:
93
90
 
94
91
  ## License
95
92
 
96
- © 2013 - 2021 Karsten Schmidt // Apache Software License 2.0
93
+ © 2013 - 2022 Karsten Schmidt // Apache Software License 2.0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-clip-poly",
3
- "version": "2.1.6",
4
- "description": "2D convex polygon clipping (Sutherland-Hodgeman)",
3
+ "version": "2.1.9",
4
+ "description": "2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
7
7
  "typings": "./index.d.ts",
@@ -34,18 +34,18 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/geom-isec": "^2.1.6",
38
- "@thi.ng/geom-poly-utils": "^2.1.6",
39
- "@thi.ng/math": "^5.2.0",
40
- "@thi.ng/vectors": "^7.4.2"
37
+ "@thi.ng/geom-isec": "^2.1.9",
38
+ "@thi.ng/geom-poly-utils": "^2.2.1",
39
+ "@thi.ng/math": "^5.3.1",
40
+ "@thi.ng/vectors": "^7.5.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@microsoft/api-extractor": "^7.19.2",
44
- "@thi.ng/testament": "^0.2.3",
43
+ "@microsoft/api-extractor": "^7.19.4",
44
+ "@thi.ng/testament": "^0.2.5",
45
45
  "rimraf": "^3.0.2",
46
46
  "tools": "^0.0.1",
47
- "typedoc": "^0.22.10",
48
- "typescript": "^4.5.3"
47
+ "typedoc": "^0.22.13",
48
+ "typescript": "^4.6.2"
49
49
  },
50
50
  "keywords": [
51
51
  "2d",
@@ -53,7 +53,9 @@
53
53
  "clipping",
54
54
  "convex",
55
55
  "geometry",
56
+ "grainer-hormann",
56
57
  "graphics",
58
+ "offset",
57
59
  "polygon",
58
60
  "rect",
59
61
  "sutherland-hodgeman",
@@ -71,7 +73,7 @@
71
73
  ],
72
74
  "exports": {
73
75
  ".": {
74
- "import": "./index.js"
76
+ "default": "./index.js"
75
77
  }
76
78
  },
77
79
  "thi.ng": {
@@ -81,5 +83,5 @@
81
83
  ],
82
84
  "year": 2013
83
85
  },
84
- "gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n"
86
+ "gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
85
87
  }