@maplat/tin 0.13.1 → 0.14.1
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/LICENSE +224 -224
- package/README.ja.md +220 -220
- package/README.md +221 -221
- package/dist/boundary-vertices.d.ts +33 -6
- package/dist/maplat_tin.js +2669 -2228
- package/dist/maplat_tin.umd.js +5 -5
- package/dist/tin.d.ts +16 -1
- package/dist/vertexutils.d.ts +6 -2
- package/dist/weight-buffer.d.ts +2 -0
- package/package.json +8 -8
- package/src/boundary-vertices.ts +557 -283
- package/src/constrained-tin.ts +84 -84
- package/src/edgebound/base.ts +65 -65
- package/src/edgebound/bitset.ts +109 -109
- package/src/edgebound/constrain.license.txt +15 -15
- package/src/edgebound/constrain.ts +498 -498
- package/src/edgebound/index.ts +10 -10
- package/src/index.ts +42 -42
- package/src/kinks.ts +1092 -1092
- package/src/searchutils.ts +102 -102
- package/src/strict-overlap.ts +461 -281
- package/src/tin.ts +821 -703
- package/src/types/cdt2d.d.ts +4 -4
- package/src/types/constrainautor.d.ts +6 -6
- package/src/types/kinks.d.ts +51 -51
- package/src/types/tin.d.ts +54 -54
- package/src/vertexutils.ts +92 -87
- package/src/weight-buffer.ts +114 -111
package/src/edgebound/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Constrain } from "./constrain.ts";
|
|
2
|
-
export {
|
|
3
|
-
nextEdge,
|
|
4
|
-
prevEdge,
|
|
5
|
-
intersectSegments,
|
|
6
|
-
type DelaunatorLike,
|
|
7
|
-
Base,
|
|
8
|
-
} from "./base.ts";
|
|
9
|
-
export { BitSet8, BitSet16, BitSet32 } from "./bitset.ts";
|
|
10
|
-
export type { BitSet } from "./bitset.ts";
|
|
1
|
+
export { Constrain } from "./constrain.ts";
|
|
2
|
+
export {
|
|
3
|
+
nextEdge,
|
|
4
|
+
prevEdge,
|
|
5
|
+
intersectSegments,
|
|
6
|
+
type DelaunatorLike,
|
|
7
|
+
Base,
|
|
8
|
+
} from "./base.ts";
|
|
9
|
+
export { BitSet8, BitSet16, BitSet32 } from "./bitset.ts";
|
|
10
|
+
export type { BitSet } from "./bitset.ts";
|
package/src/index.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @maplat/tin - TIN (Triangulated Irregular Network) generation library
|
|
3
|
-
*
|
|
4
|
-
* This is the main entry point for the library.
|
|
5
|
-
* Provides TIN generation with constrained edges for map transformation.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
// Main class exports
|
|
9
|
-
export { Tin } from "./tin.ts";
|
|
10
|
-
export type { Options } from "./tin.ts";
|
|
11
|
-
export { Tin as default } from "./tin.ts";
|
|
12
|
-
|
|
13
|
-
// Utility function exports
|
|
14
|
-
export { default as constrainedTin } from "./constrained-tin.ts";
|
|
15
|
-
export { default as findIntersections } from "./kinks.ts";
|
|
16
|
-
export { insertSearchIndex } from "./searchutils.ts";
|
|
17
|
-
export { counterPoint, createPoint, vertexCalc } from "./vertexutils.ts";
|
|
18
|
-
|
|
19
|
-
// Type exports
|
|
20
|
-
export type { SearchIndex } from "./searchutils.ts";
|
|
21
|
-
export type { IntersectionPoint } from "./types/kinks.d.ts";
|
|
22
|
-
export type { TriangleProperties } from "./types/tin.d.ts";
|
|
23
|
-
|
|
24
|
-
// Re-export types from @maplat/transform
|
|
25
|
-
export type {
|
|
26
|
-
Compiled,
|
|
27
|
-
Edge,
|
|
28
|
-
EdgeSet,
|
|
29
|
-
EdgeSetLegacy,
|
|
30
|
-
PointSet,
|
|
31
|
-
PropertyTriKey,
|
|
32
|
-
StrictMode,
|
|
33
|
-
StrictStatus,
|
|
34
|
-
Tins,
|
|
35
|
-
Transform,
|
|
36
|
-
Tri,
|
|
37
|
-
VertexMode,
|
|
38
|
-
YaxisMode,
|
|
39
|
-
} from "@maplat/transform";
|
|
40
|
-
|
|
41
|
-
// Re-export format_version
|
|
42
|
-
export { format_version } from "@maplat/transform";
|
|
1
|
+
/**
|
|
2
|
+
* @maplat/tin - TIN (Triangulated Irregular Network) generation library
|
|
3
|
+
*
|
|
4
|
+
* This is the main entry point for the library.
|
|
5
|
+
* Provides TIN generation with constrained edges for map transformation.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Main class exports
|
|
9
|
+
export { Tin } from "./tin.ts";
|
|
10
|
+
export type { Options } from "./tin.ts";
|
|
11
|
+
export { Tin as default } from "./tin.ts";
|
|
12
|
+
|
|
13
|
+
// Utility function exports
|
|
14
|
+
export { default as constrainedTin } from "./constrained-tin.ts";
|
|
15
|
+
export { default as findIntersections } from "./kinks.ts";
|
|
16
|
+
export { insertSearchIndex } from "./searchutils.ts";
|
|
17
|
+
export { counterPoint, createPoint, vertexCalc } from "./vertexutils.ts";
|
|
18
|
+
|
|
19
|
+
// Type exports
|
|
20
|
+
export type { SearchIndex } from "./searchutils.ts";
|
|
21
|
+
export type { IntersectionPoint } from "./types/kinks.d.ts";
|
|
22
|
+
export type { TriangleProperties } from "./types/tin.d.ts";
|
|
23
|
+
|
|
24
|
+
// Re-export types from @maplat/transform
|
|
25
|
+
export type {
|
|
26
|
+
Compiled,
|
|
27
|
+
Edge,
|
|
28
|
+
EdgeSet,
|
|
29
|
+
EdgeSetLegacy,
|
|
30
|
+
PointSet,
|
|
31
|
+
PropertyTriKey,
|
|
32
|
+
StrictMode,
|
|
33
|
+
StrictStatus,
|
|
34
|
+
Tins,
|
|
35
|
+
Transform,
|
|
36
|
+
Tri,
|
|
37
|
+
VertexMode,
|
|
38
|
+
YaxisMode,
|
|
39
|
+
} from "@maplat/transform";
|
|
40
|
+
|
|
41
|
+
// Re-export format_version
|
|
42
|
+
export { format_version } from "@maplat/transform";
|