@thi.ng/quad-edge 2.0.1 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/quad-edge@2.0.1...@thi.ng/quad-edge@2.0.2) (2021-10-15)
7
+
8
+ **Note:** Version bump only for package @thi.ng/quad-edge
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/quad-edge@2.0.0...@thi.ng/quad-edge@2.0.1) (2021-10-13)
7
15
 
8
16
  **Note:** Version bump only for package @thi.ng/quad-edge
package/README.md CHANGED
@@ -68,7 +68,7 @@ node --experimental-repl-await
68
68
  > const quadEdge = await import("@thi.ng/quad-edge");
69
69
  ```
70
70
 
71
- Package sizes (gzipped, pre-treeshake): ESM: 505 bytes
71
+ Package sizes (gzipped, pre-treeshake): ESM: 495 bytes
72
72
 
73
73
  ## Dependencies
74
74
 
package/index.js CHANGED
@@ -15,6 +15,10 @@ export const setNextID = (id) => (NEXT_ID = (id + 3) & -4);
15
15
  * - {@link http://www.cs.cmu.edu/afs/andrew/scs/cs/15-463/2001/pub/src/a2/lischinski/114.ps}
16
16
  */
17
17
  export class Edge {
18
+ constructor(parent, id) {
19
+ this.parent = parent;
20
+ this.id = id;
21
+ }
18
22
  /**
19
23
  * Main edge / quadedge factory function. Use this in preference of
20
24
  * direct invocation of the {@link Edge} constructor.
@@ -40,17 +44,6 @@ export class Edge {
40
44
  src && dest && a.setEnds(src, dest);
41
45
  return a;
42
46
  }
43
- id;
44
- parent;
45
- origin;
46
- constructor(parent, id) {
47
- this.parent = parent;
48
- this.id = id;
49
- }
50
- /**
51
- * Next CCW edge from this edge's origin.
52
- */
53
- onext;
54
47
  /**
55
48
  * Next CW edge from this edge's origin.
56
49
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/quad-edge",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Quadedge data structure after Guibas & Stolfi",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,7 +34,7 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "devDependencies": {
37
- "@thi.ng/testament": "^0.1.1"
37
+ "@thi.ng/testament": "^0.1.2"
38
38
  },
39
39
  "keywords": [
40
40
  "2d",
@@ -70,5 +70,5 @@
70
70
  ],
71
71
  "year": 2015
72
72
  },
73
- "gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19"
73
+ "gitHead": "3c5f903104da150588946a94bb118ad559ad395d"
74
74
  }