@math.gl/geometry 5.0.0-beta.11 → 5.0.0-beta.12
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/dist/arrow/index.cjs +926 -0
- package/dist/arrow/index.cjs.map +6 -0
- package/dist/arrow/index.d.ts +3 -0
- package/dist/arrow/index.d.ts.map +1 -0
- package/dist/arrow/index.js +6 -0
- package/dist/arrow/index.js.map +1 -0
- package/dist/arrow/stream-tessellate.d.ts +34 -0
- package/dist/arrow/stream-tessellate.d.ts.map +1 -0
- package/dist/arrow/stream-tessellate.js +171 -0
- package/dist/arrow/stream-tessellate.js.map +1 -0
- package/dist/arrow/tessellate.d.ts +31 -0
- package/dist/arrow/tessellate.d.ts.map +1 -0
- package/dist/arrow/tessellate.js +102 -0
- package/dist/arrow/tessellate.js.map +1 -0
- package/dist/color/index.cjs +3 -108
- package/dist/color/index.cjs.map +3 -3
- package/dist/color/index.d.ts +2 -3
- package/dist/color/index.d.ts.map +1 -1
- package/dist/color/index.js +1 -1
- package/dist/color/index.js.map +1 -1
- package/dist/culling/index.cjs +3 -1
- package/dist/culling/index.cjs.map +1 -1
- package/dist/culling/lib/algorithms/oriented-bounding-box-quaternion.d.ts +4 -1
- package/dist/culling/lib/algorithms/oriented-bounding-box-quaternion.d.ts.map +1 -1
- package/dist/culling/lib/algorithms/oriented-bounding-box-quaternion.js +9 -2
- package/dist/culling/lib/algorithms/oriented-bounding-box-quaternion.js.map +1 -1
- package/dist/index.cjs +625 -523
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/polygon/earcut.d.ts +12 -1
- package/dist/polygon/earcut.d.ts.map +1 -1
- package/dist/polygon/earcut.js +855 -630
- package/dist/polygon/earcut.js.map +1 -1
- package/dist/polygon/index.d.ts +1 -0
- package/dist/polygon/index.d.ts.map +1 -1
- package/dist/polygon/index.js.map +1 -1
- package/package.json +16 -3
- package/{dist/color/color-lut-types.js → src/arrow/index.ts} +3 -2
- package/src/arrow/stream-tessellate.ts +209 -0
- package/src/arrow/tessellate.ts +133 -0
- package/src/color/index.ts +3 -3
- package/src/culling/lib/algorithms/oriented-bounding-box-quaternion.ts +8 -2
- package/src/index.ts +14 -13
- package/src/polygon/earcut.ts +946 -668
- package/src/polygon/index.ts +1 -0
- package/dist/color/color-lut-types.d.ts +0 -16
- package/dist/color/color-lut-types.d.ts.map +0 -1
- package/dist/color/color-lut-types.js.map +0 -1
- package/dist/color/sample-lut.d.ts +0 -13
- package/dist/color/sample-lut.d.ts.map +0 -1
- package/dist/color/sample-lut.js +0 -132
- package/dist/color/sample-lut.js.map +0 -1
- package/src/color/color-lut-types.ts +0 -19
- package/src/color/sample-lut.ts +0 -175
package/src/index.ts
CHANGED
|
@@ -78,7 +78,7 @@ export {
|
|
|
78
78
|
weldGeometry,
|
|
79
79
|
getDegenerateTriangles,
|
|
80
80
|
interpolatePackedAttributes
|
|
81
|
-
} from './utils
|
|
81
|
+
} from './utils';
|
|
82
82
|
export type {
|
|
83
83
|
TypedArray,
|
|
84
84
|
TypedArrayConstructor,
|
|
@@ -90,7 +90,7 @@ export type {
|
|
|
90
90
|
PackedAttribute,
|
|
91
91
|
AttributeInterpolationProvenance,
|
|
92
92
|
PackedAttributeInterpolationOptions
|
|
93
|
-
} from './utils
|
|
93
|
+
} from './utils';
|
|
94
94
|
export {
|
|
95
95
|
Curve,
|
|
96
96
|
LineCurve,
|
|
@@ -99,8 +99,8 @@ export {
|
|
|
99
99
|
HermiteCurve,
|
|
100
100
|
CatmullRomCurve,
|
|
101
101
|
CurveArcLength
|
|
102
|
-
} from './curves
|
|
103
|
-
export type {CurvePoint, CatmullRomCurveOptions} from './curves
|
|
102
|
+
} from './curves';
|
|
103
|
+
export type {CurvePoint, CatmullRomCurveOptions} from './curves';
|
|
104
104
|
export {
|
|
105
105
|
Polygon,
|
|
106
106
|
getPolygonSignedArea,
|
|
@@ -118,8 +118,9 @@ export {
|
|
|
118
118
|
cutPolygonByMercatorBounds,
|
|
119
119
|
subdividePolyline,
|
|
120
120
|
subdivideTriangleMesh
|
|
121
|
-
} from './polygon
|
|
121
|
+
} from './polygon';
|
|
122
122
|
export type {
|
|
123
|
+
EarcutOptions,
|
|
123
124
|
PolygonWinding,
|
|
124
125
|
WindingDirection,
|
|
125
126
|
PoleSearchBudget,
|
|
@@ -129,7 +130,7 @@ export type {
|
|
|
129
130
|
TriangleMesh,
|
|
130
131
|
SubdivideTriangleMeshOptions,
|
|
131
132
|
SubdividedTriangleMesh
|
|
132
|
-
} from './polygon
|
|
133
|
+
} from './polygon';
|
|
133
134
|
export {
|
|
134
135
|
AxisAlignedBoundingBox,
|
|
135
136
|
BoundingSphere,
|
|
@@ -154,7 +155,7 @@ export {
|
|
|
154
155
|
intersectOrientedBoxes2D,
|
|
155
156
|
getOrientedBoundingBoxQuaternion,
|
|
156
157
|
makeOrientedBoundingBoxFromQuaternion
|
|
157
|
-
} from './culling
|
|
158
|
+
} from './culling';
|
|
158
159
|
export type {
|
|
159
160
|
CullingResult,
|
|
160
161
|
ImplicitShape,
|
|
@@ -168,7 +169,7 @@ export type {
|
|
|
168
169
|
QueryPoint,
|
|
169
170
|
TriangleRayHit,
|
|
170
171
|
OrientedBox2D
|
|
171
|
-
} from './culling
|
|
172
|
+
} from './culling';
|
|
172
173
|
export {
|
|
173
174
|
validateQueryPoint,
|
|
174
175
|
validateQueryDistance,
|
|
@@ -180,7 +181,7 @@ export type {
|
|
|
180
181
|
SegmentClosestPoints,
|
|
181
182
|
SegmentTriangleClosestPoints
|
|
182
183
|
} from './culling/queries';
|
|
183
|
-
export {BoxIndex, PointIndex, TriangleBVH} from './spatial-index
|
|
184
|
+
export {BoxIndex, PointIndex, TriangleBVH} from './spatial-index';
|
|
184
185
|
export type {
|
|
185
186
|
BoxIndexOptions,
|
|
186
187
|
NearestIndexOptions,
|
|
@@ -195,7 +196,7 @@ export type {
|
|
|
195
196
|
TriangleRayOptions,
|
|
196
197
|
TriangleNearestOptions,
|
|
197
198
|
TriangleSegmentResult
|
|
198
|
-
} from './spatial-index
|
|
199
|
+
} from './spatial-index';
|
|
199
200
|
|
|
200
201
|
export type {
|
|
201
202
|
GeometryInput,
|
|
@@ -227,7 +228,7 @@ export {
|
|
|
227
228
|
clampPointToBounds,
|
|
228
229
|
spheresIntersect,
|
|
229
230
|
boundsIntersectSphere
|
|
230
|
-
} from './culling
|
|
231
|
+
} from './culling';
|
|
231
232
|
export {
|
|
232
233
|
getRayPoint,
|
|
233
234
|
getClosestPointOnRay,
|
|
@@ -247,12 +248,12 @@ export type {RaySegmentClosestPoints} from './culling/geometric-queries';
|
|
|
247
248
|
export {
|
|
248
249
|
sampleCurveAdaptive,
|
|
249
250
|
computeParallelTransportFrames
|
|
250
|
-
} from './curves
|
|
251
|
+
} from './curves';
|
|
251
252
|
export type {
|
|
252
253
|
AdaptiveCurveOptions,
|
|
253
254
|
AdaptiveCurveSamples,
|
|
254
255
|
CurveFrames
|
|
255
|
-
} from './curves
|
|
256
|
+
} from './curves';
|
|
256
257
|
|
|
257
258
|
export {projectBounds} from './utils/project-bounds';
|
|
258
259
|
export type {
|