pattapatta 0.2.1 → 0.4.0
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 +18 -0
- package/README.md +0 -43
- package/dist/{circle-BDbKfrdR.d.ts → circle-CauDMv8V.d.ts} +1 -1
- package/dist/circlePacking/index.d.ts +2 -3
- package/dist/construction/index.d.ts +11 -3
- package/dist/construction/index.js +429 -2
- package/dist/construction/index.js.map +1 -1
- package/dist/contour/index.d.ts +90 -4
- package/dist/contour/index.js +1326 -3
- package/dist/contour/index.js.map +1 -1
- package/dist/conversion/index.d.ts +2 -3
- package/dist/{group-BNjVVYSQ.d.ts → group-YVmSJuGo.d.ts} +1 -1
- package/dist/hatch/index.d.ts +70 -4
- package/dist/hatch/index.js +414 -3
- package/dist/hatch/index.js.map +1 -1
- package/dist/hull/index.d.ts +1 -2
- package/dist/index.d.ts +13 -14
- package/dist/index.js +2228 -632
- package/dist/index.js.map +1 -1
- package/dist/meshing/index.d.ts +3 -4
- package/dist/morphology/index.d.ts +2 -3
- package/dist/optimisation/index.d.ts +2 -3
- package/dist/{path-0RjhYjJs.d.ts → path-Boeshk9L.d.ts} +9 -2
- package/dist/pointSet/index.d.ts +15 -2
- package/dist/pointSet/index.js +148 -2
- package/dist/pointSet/index.js.map +1 -1
- package/dist/polygonisation/index.d.ts +1 -2
- package/dist/polygonisation/index.js +54 -50
- package/dist/polygonisation/index.js.map +1 -1
- package/dist/predicates/index.d.ts +2 -3
- package/dist/processing/index.d.ts +3 -4
- package/dist/{segment-BKuIFMKD.d.ts → segment-CpLILSd7.d.ts} +1 -1
- package/dist/segmentSet/index.d.ts +41 -3
- package/dist/segmentSet/index.js +261 -1
- package/dist/segmentSet/index.js.map +1 -1
- package/dist/shapeBoolean/index.d.ts +2 -3
- package/dist/svg/index.d.ts +2 -3
- package/dist/tiling/index.d.ts +10 -4
- package/dist/tiling/index.js +148 -13
- package/dist/tiling/index.js.map +1 -1
- package/dist/transformation/index.d.ts +1 -2
- package/dist/triangulation/index.d.ts +1 -2
- package/dist/triangulation/index.js.map +1 -1
- package/dist/voronoi/index.d.ts +2 -3
- package/package.json +2 -2
- package/dist/vec2-CWyXN1Wj.d.ts +0 -10
package/dist/voronoi/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { V as Vec2 } from '../
|
|
2
|
-
import {
|
|
3
|
-
import { G as Group } from '../group-BNjVVYSQ.js';
|
|
1
|
+
import { V as Vec2, P as Path } from '../path-Boeshk9L.js';
|
|
2
|
+
import { G as Group } from '../group-YVmSJuGo.js';
|
|
4
3
|
|
|
5
4
|
type VoronoiOptions = {
|
|
6
5
|
/** Clip cells to this bbox; default padded bounds of the sites. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pattapatta",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Pen-plotter geometry library (PGS-inspired): hatching, packing, boolean paths for SVG",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"docs:build": "pnpm --filter website build",
|
|
138
138
|
"changeset": "changeset",
|
|
139
139
|
"version-packages": "changeset version",
|
|
140
|
-
"release": "
|
|
140
|
+
"release": "pnpm build && changeset publish",
|
|
141
141
|
"prepack": "pnpm run build",
|
|
142
142
|
"prepublishOnly": "pnpm test && pnpm run build"
|
|
143
143
|
},
|
package/dist/vec2-CWyXN1Wj.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/** 2D point / vector. */
|
|
2
|
-
type Vec2 = {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
};
|
|
6
|
-
declare function vec2(x: number, y: number): Vec2;
|
|
7
|
-
declare function cloneVec2(v: Vec2): Vec2;
|
|
8
|
-
declare function equalsVec2(a: Vec2, b: Vec2, eps?: number): boolean;
|
|
9
|
-
|
|
10
|
-
export { type Vec2 as V, cloneVec2 as c, equalsVec2 as e, vec2 as v };
|