@math.gl/geospatial 5.0.0-alpha.9 → 5.0.0-beta.10
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/APACHE-2.0-LICENSE.txt +55 -0
- package/GEOGRAPHICLIB-LICENSE.txt +28 -0
- package/H3-LICENSE.TXT +201 -0
- package/H3-NOTICE.TXT +17 -0
- package/LICENSE +268 -69
- package/PROJ-LICENSE.txt +37 -0
- package/PROJ4-LICENSE.md +29 -0
- package/README.md +241 -0
- package/THIRD-PARTY-NOTICES.md +293 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +5 -3
- package/dist/constants.js.map +1 -1
- package/dist/coordinates/angles.d.ts +20 -0
- package/dist/coordinates/angles.d.ts.map +1 -0
- package/dist/coordinates/angles.js +117 -0
- package/dist/coordinates/angles.js.map +1 -0
- package/dist/coordinates/grid.d.ts +23 -0
- package/dist/coordinates/grid.d.ts.map +1 -0
- package/dist/coordinates/grid.js +110 -0
- package/dist/coordinates/grid.js.map +1 -0
- package/dist/coordinates/mgrs.d.ts +25 -0
- package/dist/coordinates/mgrs.d.ts.map +1 -0
- package/dist/coordinates/mgrs.js +124 -0
- package/dist/coordinates/mgrs.js.map +1 -0
- package/dist/coordinates.d.ts +7 -0
- package/dist/coordinates.d.ts.map +1 -0
- package/dist/coordinates.js +7 -0
- package/dist/coordinates.js.map +1 -0
- package/dist/crs/crs-descriptor-types.d.ts +71 -0
- package/dist/crs/crs-descriptor-types.d.ts.map +1 -0
- package/dist/crs/crs-descriptor-types.js +5 -0
- package/dist/crs/crs-descriptor-types.js.map +1 -0
- package/dist/crs/crs-descriptor.d.ts +26 -0
- package/dist/crs/crs-descriptor.d.ts.map +1 -0
- package/dist/crs/crs-descriptor.js +131 -0
- package/dist/crs/crs-descriptor.js.map +1 -0
- package/dist/crs/crs-identifier.d.ts +23 -0
- package/dist/crs/crs-identifier.d.ts.map +1 -0
- package/dist/crs/crs-identifier.js +74 -0
- package/dist/crs/crs-identifier.js.map +1 -0
- package/dist/crs/crs-metadata.d.ts +43 -0
- package/dist/crs/crs-metadata.d.ts.map +1 -0
- package/dist/crs/crs-metadata.js +26 -0
- package/dist/crs/crs-metadata.js.map +1 -0
- package/dist/crs/crs.d.ts +22 -0
- package/dist/crs/crs.d.ts.map +1 -0
- package/dist/crs/crs.js +5 -0
- package/dist/crs/crs.js.map +1 -0
- package/dist/crs/execution-identity.d.ts +26 -0
- package/dist/crs/execution-identity.d.ts.map +1 -0
- package/dist/crs/execution-identity.js +76 -0
- package/dist/crs/execution-identity.js.map +1 -0
- package/dist/crs/index.cjs +1300 -0
- package/dist/crs/index.cjs.map +6 -0
- package/dist/crs/index.d.ts +22 -0
- package/dist/crs/index.d.ts.map +1 -0
- package/dist/crs/index.js +16 -0
- package/dist/crs/index.js.map +1 -0
- package/dist/crs/proj-string.d.ts +32 -0
- package/dist/crs/proj-string.d.ts.map +1 -0
- package/dist/crs/proj-string.js +204 -0
- package/dist/crs/proj-string.js.map +1 -0
- package/dist/crs/projection-domain.d.ts +33 -0
- package/dist/crs/projection-domain.d.ts.map +1 -0
- package/dist/crs/projection-domain.js +69 -0
- package/dist/crs/projection-domain.js.map +1 -0
- package/dist/crs/projjson-schema-constants.d.ts +5 -0
- package/dist/crs/projjson-schema-constants.d.ts.map +1 -0
- package/dist/crs/projjson-schema-constants.js +8 -0
- package/dist/crs/projjson-schema-constants.js.map +1 -0
- package/dist/crs/projjson-types.d.ts +557 -0
- package/dist/crs/projjson-types.d.ts.map +1 -0
- package/dist/crs/projjson-types.js +5 -0
- package/dist/crs/projjson-types.js.map +1 -0
- package/dist/crs/resolver.d.ts +43 -0
- package/dist/crs/resolver.d.ts.map +1 -0
- package/dist/crs/resolver.js +142 -0
- package/dist/crs/resolver.js.map +1 -0
- package/dist/crs/spatial-reference.d.ts +106 -0
- package/dist/crs/spatial-reference.d.ts.map +1 -0
- package/dist/crs/spatial-reference.js +86 -0
- package/dist/crs/spatial-reference.js.map +1 -0
- package/dist/crs/units-table.d.ts +4 -0
- package/dist/crs/units-table.d.ts.map +1 -0
- package/dist/crs/units-table.js +29 -0
- package/dist/crs/units-table.js.map +1 -0
- package/dist/crs/wkt-crs.d.ts +86 -0
- package/dist/crs/wkt-crs.d.ts.map +1 -0
- package/dist/crs/wkt-crs.js +613 -0
- package/dist/crs/wkt-crs.js.map +1 -0
- package/dist/elastic.cjs +52991 -0
- package/dist/elastic.cjs.map +6 -0
- package/dist/elastic.d.ts +5 -0
- package/dist/elastic.d.ts.map +1 -0
- package/dist/elastic.js +8 -0
- package/dist/elastic.js.map +1 -0
- package/dist/ellipsoid-geodesic.d.ts +63 -0
- package/dist/ellipsoid-geodesic.d.ts.map +1 -0
- package/dist/ellipsoid-geodesic.js +70 -0
- package/dist/ellipsoid-geodesic.js.map +1 -0
- package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts +1 -1
- package/dist/ellipsoid-helpers/ellipsoid-transform.d.ts.map +1 -1
- package/dist/ellipsoid-helpers/ellipsoid-transform.js +59 -18
- package/dist/ellipsoid-helpers/ellipsoid-transform.js.map +1 -1
- package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts +16 -0
- package/dist/ellipsoid-helpers/exact-nearest-surface.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/exact-nearest-surface.js +108 -0
- package/dist/ellipsoid-helpers/exact-nearest-surface.js.map +1 -0
- package/dist/ellipsoid-helpers/intersection-bounds.d.ts +18 -0
- package/dist/ellipsoid-helpers/intersection-bounds.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/intersection-bounds.js +60 -0
- package/dist/ellipsoid-helpers/intersection-bounds.js.map +1 -0
- package/dist/ellipsoid-helpers/nearest-surface.d.ts +12 -0
- package/dist/ellipsoid-helpers/nearest-surface.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/nearest-surface.js +127 -0
- package/dist/ellipsoid-helpers/nearest-surface.js.map +1 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts +3 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.js +63 -0
- package/dist/ellipsoid-helpers/rhumb-pole-distance.js.map +1 -0
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts +2 -0
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.d.ts.map +1 -1
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js +32 -63
- package/dist/ellipsoid-helpers/scale-to-geodetic-surface.js.map +1 -1
- package/dist/ellipsoid-helpers/surface-polygon.d.ts +65 -0
- package/dist/ellipsoid-helpers/surface-polygon.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/surface-polygon.js +159 -0
- package/dist/ellipsoid-helpers/surface-polygon.js.map +1 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts +7 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.d.ts.map +1 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.js +88 -0
- package/dist/ellipsoid-helpers/tangent-plane-numerics.js.map +1 -0
- package/dist/ellipsoid-metrics.d.ts +31 -0
- package/dist/ellipsoid-metrics.d.ts.map +1 -0
- package/dist/ellipsoid-metrics.js +186 -0
- package/dist/ellipsoid-metrics.js.map +1 -0
- package/dist/ellipsoid-occluder.d.ts +28 -0
- package/dist/ellipsoid-occluder.d.ts.map +1 -0
- package/dist/ellipsoid-occluder.js +112 -0
- package/dist/ellipsoid-occluder.js.map +1 -0
- package/dist/ellipsoid-rhumb.d.ts +52 -0
- package/dist/ellipsoid-rhumb.d.ts.map +1 -0
- package/dist/ellipsoid-rhumb.js +321 -0
- package/dist/ellipsoid-rhumb.js.map +1 -0
- package/dist/ellipsoid-tangent-plane.d.ts +30 -8
- package/dist/ellipsoid-tangent-plane.d.ts.map +1 -1
- package/dist/ellipsoid-tangent-plane.js +181 -31
- package/dist/ellipsoid-tangent-plane.js.map +1 -1
- package/dist/ellipsoid-transforms.d.ts +12 -0
- package/dist/ellipsoid-transforms.d.ts.map +1 -0
- package/dist/ellipsoid-transforms.js +15 -0
- package/dist/ellipsoid-transforms.js.map +1 -0
- package/dist/ellipsoid.d.ts +13 -12
- package/dist/ellipsoid.d.ts.map +1 -1
- package/dist/ellipsoid.js +230 -66
- package/dist/ellipsoid.js.map +1 -1
- package/dist/entries/ellipsoid.d.ts +26 -0
- package/dist/entries/ellipsoid.d.ts.map +1 -0
- package/dist/entries/ellipsoid.js +17 -0
- package/dist/entries/ellipsoid.js.map +1 -0
- package/dist/expressions.d.ts +4 -0
- package/dist/expressions.d.ts.map +1 -0
- package/dist/expressions.js +24 -0
- package/dist/expressions.js.map +1 -0
- package/dist/geodesic-buffer.d.ts +34 -0
- package/dist/geodesic-buffer.d.ts.map +1 -0
- package/dist/geodesic-buffer.js +86 -0
- package/dist/geodesic-buffer.js.map +1 -0
- package/dist/geodesic-exact/area.d.ts +5 -0
- package/dist/geodesic-exact/area.d.ts.map +1 -0
- package/dist/geodesic-exact/area.js +56 -0
- package/dist/geodesic-exact/area.js.map +1 -0
- package/dist/geodesic-exact/inverse-engine.d.ts +57 -0
- package/dist/geodesic-exact/inverse-engine.d.ts.map +1 -0
- package/dist/geodesic-exact/inverse-engine.js +56 -0
- package/dist/geodesic-exact/inverse-engine.js.map +1 -0
- package/dist/geodesic-exact/polygon.d.ts +12 -0
- package/dist/geodesic-exact/polygon.d.ts.map +1 -0
- package/dist/geodesic-exact/polygon.js +27 -0
- package/dist/geodesic-exact/polygon.js.map +1 -0
- package/dist/geodesic-exact/quadrature.d.ts +9 -0
- package/dist/geodesic-exact/quadrature.d.ts.map +1 -0
- package/dist/geodesic-exact/quadrature.js +62 -0
- package/dist/geodesic-exact/quadrature.js.map +1 -0
- package/dist/geodesic-exact.d.ts +23 -0
- package/dist/geodesic-exact.d.ts.map +1 -0
- package/dist/geodesic-exact.js +210 -0
- package/dist/geodesic-exact.js.map +1 -0
- package/dist/geodesic-intersections.d.ts +83 -0
- package/dist/geodesic-intersections.d.ts.map +1 -0
- package/dist/geodesic-intersections.js +451 -0
- package/dist/geodesic-intersections.js.map +1 -0
- package/dist/geodesic-path.d.ts +28 -0
- package/dist/geodesic-path.d.ts.map +1 -0
- package/dist/geodesic-path.js +102 -0
- package/dist/geodesic-path.js.map +1 -0
- package/dist/geodesic-polygon.d.ts +11 -0
- package/dist/geodesic-polygon.d.ts.map +1 -0
- package/dist/geodesic-polygon.js +16 -0
- package/dist/geodesic-polygon.js.map +1 -0
- package/dist/geographic-atlas/atlas.d.ts +34 -0
- package/dist/geographic-atlas/atlas.d.ts.map +1 -0
- package/dist/geographic-atlas/atlas.js +493 -0
- package/dist/geographic-atlas/atlas.js.map +1 -0
- package/dist/geographic-atlas/curves.d.ts +25 -0
- package/dist/geographic-atlas/curves.d.ts.map +1 -0
- package/dist/geographic-atlas/curves.js +270 -0
- package/dist/geographic-atlas/curves.js.map +1 -0
- package/dist/geographic-atlas/math.d.ts +38 -0
- package/dist/geographic-atlas/math.d.ts.map +1 -0
- package/dist/geographic-atlas/math.js +115 -0
- package/dist/geographic-atlas/math.js.map +1 -0
- package/dist/geographic-atlas/sampling.d.ts +18 -0
- package/dist/geographic-atlas/sampling.d.ts.map +1 -0
- package/dist/geographic-atlas/sampling.js +96 -0
- package/dist/geographic-atlas/sampling.js.map +1 -0
- package/dist/geographic-atlas/topology.d.ts +20 -0
- package/dist/geographic-atlas/topology.d.ts.map +1 -0
- package/dist/geographic-atlas/topology.js +159 -0
- package/dist/geographic-atlas/topology.js.map +1 -0
- package/dist/geographic-atlas/types.d.ts +55 -0
- package/dist/geographic-atlas/types.d.ts.map +1 -0
- package/dist/geographic-atlas/types.js +2 -0
- package/dist/geographic-atlas/types.js.map +1 -0
- package/dist/geographic-atlas.d.ts +37 -0
- package/dist/geographic-atlas.d.ts.map +1 -0
- package/dist/geographic-atlas.js +77 -0
- package/dist/geographic-atlas.js.map +1 -0
- package/dist/geographic-cuts.d.ts +35 -0
- package/dist/geographic-cuts.d.ts.map +1 -0
- package/dist/geographic-cuts.js +78 -0
- package/dist/geographic-cuts.js.map +1 -0
- package/dist/geographic-seams/cut-options.d.ts +13 -0
- package/dist/geographic-seams/cut-options.d.ts.map +1 -0
- package/dist/geographic-seams/cut-options.js +38 -0
- package/dist/geographic-seams/cut-options.js.map +1 -0
- package/dist/geographic-seams/edge.d.ts +46 -0
- package/dist/geographic-seams/edge.d.ts.map +1 -0
- package/dist/geographic-seams/edge.js +372 -0
- package/dist/geographic-seams/edge.js.map +1 -0
- package/dist/geographic-seams/latitude.d.ts +6 -0
- package/dist/geographic-seams/latitude.d.ts.map +1 -0
- package/dist/geographic-seams/latitude.js +47 -0
- package/dist/geographic-seams/latitude.js.map +1 -0
- package/dist/geographic-seams/polygon.d.ts +27 -0
- package/dist/geographic-seams/polygon.d.ts.map +1 -0
- package/dist/geographic-seams/polygon.js +422 -0
- package/dist/geographic-seams/polygon.js.map +1 -0
- package/dist/geographic-seams/subdivide-cut.d.ts +14 -0
- package/dist/geographic-seams/subdivide-cut.d.ts.map +1 -0
- package/dist/geographic-seams/subdivide-cut.js +149 -0
- package/dist/geographic-seams/subdivide-cut.js.map +1 -0
- package/dist/geographic-seams/types.d.ts +59 -0
- package/dist/geographic-seams/types.d.ts.map +1 -0
- package/dist/geographic-seams/types.js +8 -0
- package/dist/geographic-seams/types.js.map +1 -0
- package/dist/geographic-seams.d.ts +12 -0
- package/dist/geographic-seams.d.ts.map +1 -0
- package/dist/geographic-seams.js +54 -0
- package/dist/geographic-seams.js.map +1 -0
- package/dist/geographic-tiles.d.ts +24 -0
- package/dist/geographic-tiles.d.ts.map +1 -0
- package/dist/geographic-tiles.js +72 -0
- package/dist/geographic-tiles.js.map +1 -0
- package/dist/globe-horizon-bounds.d.ts +13 -0
- package/dist/globe-horizon-bounds.d.ts.map +1 -0
- package/dist/globe-horizon-bounds.js +59 -0
- package/dist/globe-horizon-bounds.js.map +1 -0
- package/dist/globe.d.ts +16 -0
- package/dist/globe.d.ts.map +1 -0
- package/dist/globe.js +12 -0
- package/dist/globe.js.map +1 -0
- package/dist/index.cjs +17022 -503
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +144 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +86 -6
- package/dist/index.js.map +1 -1
- package/dist/lng-lat-rectangle.d.ts.map +1 -1
- package/dist/lng-lat-rectangle.js +5 -3
- package/dist/lng-lat-rectangle.js.map +1 -1
- package/dist/local-reference-frame.d.ts +57 -0
- package/dist/local-reference-frame.d.ts.map +1 -0
- package/dist/local-reference-frame.js +247 -0
- package/dist/local-reference-frame.js.map +1 -0
- package/dist/make-obb-from-region.d.ts +1 -1
- package/dist/make-obb-from-region.d.ts.map +1 -1
- package/dist/make-obb-from-region.js +6 -4
- package/dist/make-obb-from-region.js.map +1 -1
- package/dist/maps/air-ocean-mesh.d.ts +15 -0
- package/dist/maps/air-ocean-mesh.d.ts.map +1 -0
- package/dist/maps/air-ocean-mesh.js +75 -0
- package/dist/maps/air-ocean-mesh.js.map +1 -0
- package/dist/maps/albers-usa.d.ts +9 -0
- package/dist/maps/albers-usa.d.ts.map +1 -0
- package/dist/maps/albers-usa.js +105 -0
- package/dist/maps/albers-usa.js.map +1 -0
- package/dist/maps/cap-map.d.ts +23 -0
- package/dist/maps/cap-map.d.ts.map +1 -0
- package/dist/maps/cap-map.js +498 -0
- package/dist/maps/cap-map.js.map +1 -0
- package/dist/maps/elastic/data.d.ts +26 -0
- package/dist/maps/elastic/data.d.ts.map +1 -0
- package/dist/maps/elastic/data.js +72 -0
- package/dist/maps/elastic/data.js.map +1 -0
- package/dist/maps/elastic/elasticI.d.ts +3 -0
- package/dist/maps/elastic/elasticI.d.ts.map +1 -0
- package/dist/maps/elastic/elasticI.js +5233 -0
- package/dist/maps/elastic/elasticI.js.map +1 -0
- package/dist/maps/elastic/elasticII.d.ts +3 -0
- package/dist/maps/elastic/elasticII.d.ts.map +1 -0
- package/dist/maps/elastic/elasticII.js +18162 -0
- package/dist/maps/elastic/elasticII.js.map +1 -0
- package/dist/maps/elastic/elasticIII.d.ts +3 -0
- package/dist/maps/elastic/elasticIII.d.ts.map +1 -0
- package/dist/maps/elastic/elasticIII.js +29566 -0
- package/dist/maps/elastic/elasticIII.js.map +1 -0
- package/dist/maps/elastic/geometry.d.ts +22 -0
- package/dist/maps/elastic/geometry.d.ts.map +1 -0
- package/dist/maps/elastic/geometry.js +131 -0
- package/dist/maps/elastic/geometry.js.map +1 -0
- package/dist/maps/elastic/grid.d.ts +15 -0
- package/dist/maps/elastic/grid.d.ts.map +1 -0
- package/dist/maps/elastic/grid.js +177 -0
- package/dist/maps/elastic/grid.js.map +1 -0
- package/dist/maps/elastic/map.d.ts +8 -0
- package/dist/maps/elastic/map.d.ts.map +1 -0
- package/dist/maps/elastic/map.js +500 -0
- package/dist/maps/elastic/map.js.map +1 -0
- package/dist/maps/elastic/source-arc.d.ts +10 -0
- package/dist/maps/elastic/source-arc.d.ts.map +1 -0
- package/dist/maps/elastic/source-arc.js +111 -0
- package/dist/maps/elastic/source-arc.js.map +1 -0
- package/dist/maps/geometry.cjs +1028 -0
- package/dist/maps/geometry.cjs.map +6 -0
- package/dist/maps/geometry.d.ts +12 -0
- package/dist/maps/geometry.d.ts.map +1 -0
- package/dist/maps/geometry.js +13 -0
- package/dist/maps/geometry.js.map +1 -0
- package/dist/maps/global-polygons.d.ts +35 -0
- package/dist/maps/global-polygons.d.ts.map +1 -0
- package/dist/maps/global-polygons.js +263 -0
- package/dist/maps/global-polygons.js.map +1 -0
- package/dist/maps/gray-fuller.d.ts +5 -0
- package/dist/maps/gray-fuller.d.ts.map +1 -0
- package/dist/maps/gray-fuller.js +36 -0
- package/dist/maps/gray-fuller.js.map +1 -0
- package/dist/maps/gringorten-kernel.d.ts +5 -0
- package/dist/maps/gringorten-kernel.d.ts.map +1 -0
- package/dist/maps/gringorten-kernel.js +94 -0
- package/dist/maps/gringorten-kernel.js.map +1 -0
- package/dist/maps/h3-face-map.d.ts +7 -0
- package/dist/maps/h3-face-map.d.ts.map +1 -0
- package/dist/maps/h3-face-map.js +200 -0
- package/dist/maps/h3-face-map.js.map +1 -0
- package/dist/maps/healpix.d.ts +13 -0
- package/dist/maps/healpix.d.ts.map +1 -0
- package/dist/maps/healpix.js +61 -0
- package/dist/maps/healpix.js.map +1 -0
- package/dist/maps/layout.d.ts +72 -0
- package/dist/maps/layout.d.ts.map +1 -0
- package/dist/maps/layout.js +114 -0
- package/dist/maps/layout.js.map +1 -0
- package/dist/maps/map-engine.d.ts +239 -0
- package/dist/maps/map-engine.d.ts.map +1 -0
- package/dist/maps/map-engine.js +299 -0
- package/dist/maps/map-engine.js.map +1 -0
- package/dist/maps/map-layout.d.ts +119 -0
- package/dist/maps/map-layout.d.ts.map +1 -0
- package/dist/maps/map-layout.js +612 -0
- package/dist/maps/map-layout.js.map +1 -0
- package/dist/maps/map-surface-mesh.d.ts +44 -0
- package/dist/maps/map-surface-mesh.d.ts.map +1 -0
- package/dist/maps/map-surface-mesh.js +150 -0
- package/dist/maps/map-surface-mesh.js.map +1 -0
- package/dist/maps/map-transition-mesh.d.ts +51 -0
- package/dist/maps/map-transition-mesh.d.ts.map +1 -0
- package/dist/maps/map-transition-mesh.js +313 -0
- package/dist/maps/map-transition-mesh.js.map +1 -0
- package/dist/maps/map-transition.d.ts +42 -0
- package/dist/maps/map-transition.d.ts.map +1 -0
- package/dist/maps/map-transition.js +346 -0
- package/dist/maps/map-transition.js.map +1 -0
- package/dist/maps/math.d.ts +19 -0
- package/dist/maps/math.d.ts.map +1 -0
- package/dist/maps/math.js +65 -0
- package/dist/maps/math.js.map +1 -0
- package/dist/maps/mercator-map.d.ts +24 -0
- package/dist/maps/mercator-map.d.ts.map +1 -0
- package/dist/maps/mercator-map.js +245 -0
- package/dist/maps/mercator-map.js.map +1 -0
- package/dist/maps/myriahedral/graticule.d.ts +6 -0
- package/dist/maps/myriahedral/graticule.d.ts.map +1 -0
- package/dist/maps/myriahedral/graticule.js +37 -0
- package/dist/maps/myriahedral/graticule.js.map +1 -0
- package/dist/maps/myriahedral/mesh.d.ts +18 -0
- package/dist/maps/myriahedral/mesh.d.ts.map +1 -0
- package/dist/maps/myriahedral/mesh.js +131 -0
- package/dist/maps/myriahedral/mesh.js.map +1 -0
- package/dist/maps/myriahedral/unfold.d.ts +56 -0
- package/dist/maps/myriahedral/unfold.d.ts.map +1 -0
- package/dist/maps/myriahedral/unfold.js +191 -0
- package/dist/maps/myriahedral/unfold.js.map +1 -0
- package/dist/maps/myriahedral.d.ts +62 -0
- package/dist/maps/myriahedral.d.ts.map +1 -0
- package/dist/maps/myriahedral.js +217 -0
- package/dist/maps/myriahedral.js.map +1 -0
- package/dist/maps/petroff.d.ts +8 -0
- package/dist/maps/petroff.d.ts.map +1 -0
- package/dist/maps/petroff.js +159 -0
- package/dist/maps/petroff.js.map +1 -0
- package/dist/maps/polygon-constraints.d.ts +16 -0
- package/dist/maps/polygon-constraints.d.ts.map +1 -0
- package/dist/maps/polygon-constraints.js +157 -0
- package/dist/maps/polygon-constraints.js.map +1 -0
- package/dist/maps/polyhedral.d.ts +8 -0
- package/dist/maps/polyhedral.d.ts.map +1 -0
- package/dist/maps/polyhedral.js +117 -0
- package/dist/maps/polyhedral.js.map +1 -0
- package/dist/maps/prepare-features.d.ts +108 -0
- package/dist/maps/prepare-features.d.ts.map +1 -0
- package/dist/maps/prepare-features.js +250 -0
- package/dist/maps/prepare-features.js.map +1 -0
- package/dist/maps/preset-kernels.d.ts +71 -0
- package/dist/maps/preset-kernels.d.ts.map +1 -0
- package/dist/maps/preset-kernels.js +372 -0
- package/dist/maps/preset-kernels.js.map +1 -0
- package/dist/maps/presets.cjs +7437 -0
- package/dist/maps/presets.cjs.map +6 -0
- package/dist/maps/presets.d.ts +37 -0
- package/dist/maps/presets.d.ts.map +1 -0
- package/dist/maps/presets.js +294 -0
- package/dist/maps/presets.js.map +1 -0
- package/dist/maps/projection-catalog.d.ts +33 -0
- package/dist/maps/projection-catalog.d.ts.map +1 -0
- package/dist/maps/projection-catalog.js +96 -0
- package/dist/maps/projection-catalog.js.map +1 -0
- package/dist/maps/projection-surface.d.ts +14 -0
- package/dist/maps/projection-surface.d.ts.map +1 -0
- package/dist/maps/projection-surface.js +50 -0
- package/dist/maps/projection-surface.js.map +1 -0
- package/dist/maps/quincuncial-kernel.d.ts +9 -0
- package/dist/maps/quincuncial-kernel.d.ts.map +1 -0
- package/dist/maps/quincuncial-kernel.js +139 -0
- package/dist/maps/quincuncial-kernel.js.map +1 -0
- package/dist/maps/quincuncial-star.d.ts +29 -0
- package/dist/maps/quincuncial-star.d.ts.map +1 -0
- package/dist/maps/quincuncial-star.js +307 -0
- package/dist/maps/quincuncial-star.js.map +1 -0
- package/dist/maps/regional-map.d.ts +19 -0
- package/dist/maps/regional-map.d.ts.map +1 -0
- package/dist/maps/regional-map.js +190 -0
- package/dist/maps/regional-map.js.map +1 -0
- package/dist/maps/retroazimuthal-map.d.ts +6 -0
- package/dist/maps/retroazimuthal-map.d.ts.map +1 -0
- package/dist/maps/retroazimuthal-map.js +52 -0
- package/dist/maps/retroazimuthal-map.js.map +1 -0
- package/dist/maps/rotated-map.d.ts +42 -0
- package/dist/maps/rotated-map.d.ts.map +1 -0
- package/dist/maps/rotated-map.js +72 -0
- package/dist/maps/rotated-map.js.map +1 -0
- package/dist/maps/snyder-mesh.d.ts +11 -0
- package/dist/maps/snyder-mesh.d.ts.map +1 -0
- package/dist/maps/snyder-mesh.js +88 -0
- package/dist/maps/snyder-mesh.js.map +1 -0
- package/dist/maps/snyder.d.ts +16 -0
- package/dist/maps/snyder.d.ts.map +1 -0
- package/dist/maps/snyder.js +153 -0
- package/dist/maps/snyder.js.map +1 -0
- package/dist/maps/source-arc.d.ts +4 -0
- package/dist/maps/source-arc.d.ts.map +1 -0
- package/dist/maps/source-arc.js +23 -0
- package/dist/maps/source-arc.js.map +1 -0
- package/dist/maps/spherical-clip/cartesian.d.ts +8 -0
- package/dist/maps/spherical-clip/cartesian.d.ts.map +1 -0
- package/dist/maps/spherical-clip/cartesian.js +34 -0
- package/dist/maps/spherical-clip/cartesian.js.map +1 -0
- package/dist/maps/spherical-clip/circle.d.ts +2 -0
- package/dist/maps/spherical-clip/circle.d.ts.map +1 -0
- package/dist/maps/spherical-clip/circle.js +34 -0
- package/dist/maps/spherical-clip/circle.js.map +1 -0
- package/dist/maps/spherical-clip/clip-buffer.d.ts +9 -0
- package/dist/maps/spherical-clip/clip-buffer.d.ts.map +1 -0
- package/dist/maps/spherical-clip/clip-buffer.js +28 -0
- package/dist/maps/spherical-clip/clip-buffer.js.map +1 -0
- package/dist/maps/spherical-clip/clip-circle.d.ts +9 -0
- package/dist/maps/spherical-clip/clip-circle.d.ts.map +1 -0
- package/dist/maps/spherical-clip/clip-circle.js +160 -0
- package/dist/maps/spherical-clip/clip-circle.js.map +1 -0
- package/dist/maps/spherical-clip/clip-index.d.ts +9 -0
- package/dist/maps/spherical-clip/clip-index.d.ts.map +1 -0
- package/dist/maps/spherical-clip/clip-index.js +117 -0
- package/dist/maps/spherical-clip/clip-index.js.map +1 -0
- package/dist/maps/spherical-clip/clip-rejoin.d.ts +2 -0
- package/dist/maps/spherical-clip/clip-rejoin.d.ts.map +1 -0
- package/dist/maps/spherical-clip/clip-rejoin.js +99 -0
- package/dist/maps/spherical-clip/clip-rejoin.js.map +1 -0
- package/dist/maps/spherical-clip/helpers.d.ts +8 -0
- package/dist/maps/spherical-clip/helpers.d.ts.map +1 -0
- package/dist/maps/spherical-clip/helpers.js +21 -0
- package/dist/maps/spherical-clip/helpers.js.map +1 -0
- package/dist/maps/spherical-clip/math.d.ts +26 -0
- package/dist/maps/spherical-clip/math.d.ts.map +1 -0
- package/dist/maps/spherical-clip/math.js +39 -0
- package/dist/maps/spherical-clip/math.js.map +1 -0
- package/dist/maps/spherical-clip/noop.d.ts +2 -0
- package/dist/maps/spherical-clip/noop.d.ts.map +1 -0
- package/dist/maps/spherical-clip/noop.js +6 -0
- package/dist/maps/spherical-clip/noop.js.map +1 -0
- package/dist/maps/spherical-clip/pointEqual.d.ts +2 -0
- package/dist/maps/spherical-clip/pointEqual.d.ts.map +1 -0
- package/dist/maps/spherical-clip/pointEqual.js +9 -0
- package/dist/maps/spherical-clip/pointEqual.js.map +1 -0
- package/dist/maps/spherical-clip/polygonContains.d.ts +2 -0
- package/dist/maps/spherical-clip/polygonContains.d.ts.map +1 -0
- package/dist/maps/spherical-clip/polygonContains.js +52 -0
- package/dist/maps/spherical-clip/polygonContains.js.map +1 -0
- package/dist/maps/surfaces.cjs +183 -0
- package/dist/maps/surfaces.cjs.map +6 -0
- package/dist/maps/surfaces.d.ts +5 -0
- package/dist/maps/surfaces.d.ts.map +1 -0
- package/dist/maps/surfaces.js +6 -0
- package/dist/maps/surfaces.js.map +1 -0
- package/dist/maps/transitions.cjs +660 -0
- package/dist/maps/transitions.cjs.map +6 -0
- package/dist/maps/transitions.d.ts +8 -0
- package/dist/maps/transitions.d.ts.map +1 -0
- package/dist/maps/transitions.js +9 -0
- package/dist/maps/transitions.js.map +1 -0
- package/dist/maps/world-composite-kernels.d.ts +11 -0
- package/dist/maps/world-composite-kernels.d.ts.map +1 -0
- package/dist/maps/world-composite-kernels.js +30 -0
- package/dist/maps/world-composite-kernels.js.map +1 -0
- package/dist/maps/world-kernels/airy.d.ts +5 -0
- package/dist/maps/world-kernels/airy.d.ts.map +1 -0
- package/dist/maps/world-kernels/airy.js +28 -0
- package/dist/maps/world-kernels/airy.js.map +1 -0
- package/dist/maps/world-kernels/aitoff.d.ts +5 -0
- package/dist/maps/world-kernels/aitoff.d.ts.map +1 -0
- package/dist/maps/world-kernels/aitoff.js +26 -0
- package/dist/maps/world-kernels/aitoff.js.map +1 -0
- package/dist/maps/world-kernels/armadillo.d.ts +5 -0
- package/dist/maps/world-kernels/armadillo.d.ts.map +1 -0
- package/dist/maps/world-kernels/armadillo.js +28 -0
- package/dist/maps/world-kernels/armadillo.js.map +1 -0
- package/dist/maps/world-kernels/august.d.ts +5 -0
- package/dist/maps/world-kernels/august.d.ts.map +1 -0
- package/dist/maps/world-kernels/august.js +21 -0
- package/dist/maps/world-kernels/august.js.map +1 -0
- package/dist/maps/world-kernels/baker.d.ts +5 -0
- package/dist/maps/world-kernels/baker.d.ts.map +1 -0
- package/dist/maps/world-kernels/baker.js +29 -0
- package/dist/maps/world-kernels/baker.js.map +1 -0
- package/dist/maps/world-kernels/bertin.d.ts +5 -0
- package/dist/maps/world-kernels/bertin.d.ts.map +1 -0
- package/dist/maps/world-kernels/bertin.js +32 -0
- package/dist/maps/world-kernels/bertin.js.map +1 -0
- package/dist/maps/world-kernels/boggs.d.ts +5 -0
- package/dist/maps/world-kernels/boggs.d.ts.map +1 -0
- package/dist/maps/world-kernels/boggs.js +24 -0
- package/dist/maps/world-kernels/boggs.js.map +1 -0
- package/dist/maps/world-kernels/bonne.d.ts +3 -0
- package/dist/maps/world-kernels/bonne.d.ts.map +1 -0
- package/dist/maps/world-kernels/bonne.js +22 -0
- package/dist/maps/world-kernels/bonne.js.map +1 -0
- package/dist/maps/world-kernels/bottomley.d.ts +5 -0
- package/dist/maps/world-kernels/bottomley.d.ts.map +1 -0
- package/dist/maps/world-kernels/bottomley.js +18 -0
- package/dist/maps/world-kernels/bottomley.js.map +1 -0
- package/dist/maps/world-kernels/bromley.d.ts +5 -0
- package/dist/maps/world-kernels/bromley.d.ts.map +1 -0
- package/dist/maps/world-kernels/bromley.js +9 -0
- package/dist/maps/world-kernels/bromley.js.map +1 -0
- package/dist/maps/world-kernels/chamberlin.d.ts +2 -0
- package/dist/maps/world-kernels/chamberlin.d.ts.map +1 -0
- package/dist/maps/world-kernels/chamberlin.js +81 -0
- package/dist/maps/world-kernels/chamberlin.js.map +1 -0
- package/dist/maps/world-kernels/collignon.d.ts +5 -0
- package/dist/maps/world-kernels/collignon.d.ts.map +1 -0
- package/dist/maps/world-kernels/collignon.js +15 -0
- package/dist/maps/world-kernels/collignon.js.map +1 -0
- package/dist/maps/world-kernels/craig.d.ts +5 -0
- package/dist/maps/world-kernels/craig.d.ts.map +1 -0
- package/dist/maps/world-kernels/craig.js +30 -0
- package/dist/maps/world-kernels/craig.js.map +1 -0
- package/dist/maps/world-kernels/craster.d.ts +5 -0
- package/dist/maps/world-kernels/craster.d.ts.map +1 -0
- package/dist/maps/world-kernels/craster.js +15 -0
- package/dist/maps/world-kernels/craster.js.map +1 -0
- package/dist/maps/world-kernels/cylindricalEqualArea.d.ts +5 -0
- package/dist/maps/world-kernels/cylindricalEqualArea.d.ts.map +1 -0
- package/dist/maps/world-kernels/cylindricalEqualArea.js +17 -0
- package/dist/maps/world-kernels/cylindricalEqualArea.js.map +1 -0
- package/dist/maps/world-kernels/cylindricalStereographic.d.ts +5 -0
- package/dist/maps/world-kernels/cylindricalStereographic.d.ts.map +1 -0
- package/dist/maps/world-kernels/cylindricalStereographic.js +17 -0
- package/dist/maps/world-kernels/cylindricalStereographic.js.map +1 -0
- package/dist/maps/world-kernels/d3-geo-raw.d.ts +9 -0
- package/dist/maps/world-kernels/d3-geo-raw.d.ts.map +1 -0
- package/dist/maps/world-kernels/d3-geo-raw.js +21 -0
- package/dist/maps/world-kernels/d3-geo-raw.js.map +1 -0
- package/dist/maps/world-kernels/eckert1.d.ts +5 -0
- package/dist/maps/world-kernels/eckert1.d.ts.map +1 -0
- package/dist/maps/world-kernels/eckert1.js +15 -0
- package/dist/maps/world-kernels/eckert1.js.map +1 -0
- package/dist/maps/world-kernels/eckert2.d.ts +5 -0
- package/dist/maps/world-kernels/eckert2.d.ts.map +1 -0
- package/dist/maps/world-kernels/eckert2.js +15 -0
- package/dist/maps/world-kernels/eckert2.js.map +1 -0
- package/dist/maps/world-kernels/eckert3.d.ts +5 -0
- package/dist/maps/world-kernels/eckert3.d.ts.map +1 -0
- package/dist/maps/world-kernels/eckert3.js +15 -0
- package/dist/maps/world-kernels/eckert3.js.map +1 -0
- package/dist/maps/world-kernels/eckert4.d.ts +5 -0
- package/dist/maps/world-kernels/eckert4.d.ts.map +1 -0
- package/dist/maps/world-kernels/eckert4.js +20 -0
- package/dist/maps/world-kernels/eckert4.js.map +1 -0
- package/dist/maps/world-kernels/eckert5.d.ts +5 -0
- package/dist/maps/world-kernels/eckert5.d.ts.map +1 -0
- package/dist/maps/world-kernels/eckert5.js +14 -0
- package/dist/maps/world-kernels/eckert5.js.map +1 -0
- package/dist/maps/world-kernels/eckert6.d.ts +5 -0
- package/dist/maps/world-kernels/eckert6.d.ts.map +1 -0
- package/dist/maps/world-kernels/eckert6.js +19 -0
- package/dist/maps/world-kernels/eckert6.js.map +1 -0
- package/dist/maps/world-kernels/eisenlohr.d.ts +5 -0
- package/dist/maps/world-kernels/eisenlohr.d.ts.map +1 -0
- package/dist/maps/world-kernels/eisenlohr.js +41 -0
- package/dist/maps/world-kernels/eisenlohr.js.map +1 -0
- package/dist/maps/world-kernels/fahey.d.ts +5 -0
- package/dist/maps/world-kernels/fahey.d.ts.map +1 -0
- package/dist/maps/world-kernels/fahey.js +16 -0
- package/dist/maps/world-kernels/fahey.js.map +1 -0
- package/dist/maps/world-kernels/foucaut.d.ts +5 -0
- package/dist/maps/world-kernels/foucaut.d.ts.map +1 -0
- package/dist/maps/world-kernels/foucaut.js +15 -0
- package/dist/maps/world-kernels/foucaut.js.map +1 -0
- package/dist/maps/world-kernels/foucautSinusoidal.d.ts +5 -0
- package/dist/maps/world-kernels/foucautSinusoidal.d.ts.map +1 -0
- package/dist/maps/world-kernels/foucautSinusoidal.js +27 -0
- package/dist/maps/world-kernels/foucautSinusoidal.js.map +1 -0
- package/dist/maps/world-kernels/ginzburg4.d.ts +5 -0
- package/dist/maps/world-kernels/ginzburg4.d.ts.map +1 -0
- package/dist/maps/world-kernels/ginzburg4.js +8 -0
- package/dist/maps/world-kernels/ginzburg4.js.map +1 -0
- package/dist/maps/world-kernels/ginzburg5.d.ts +5 -0
- package/dist/maps/world-kernels/ginzburg5.d.ts.map +1 -0
- package/dist/maps/world-kernels/ginzburg5.js +8 -0
- package/dist/maps/world-kernels/ginzburg5.js.map +1 -0
- package/dist/maps/world-kernels/ginzburg6.d.ts +5 -0
- package/dist/maps/world-kernels/ginzburg6.d.ts.map +1 -0
- package/dist/maps/world-kernels/ginzburg6.js +9 -0
- package/dist/maps/world-kernels/ginzburg6.js.map +1 -0
- package/dist/maps/world-kernels/ginzburg8.d.ts +5 -0
- package/dist/maps/world-kernels/ginzburg8.d.ts.map +1 -0
- package/dist/maps/world-kernels/ginzburg8.js +28 -0
- package/dist/maps/world-kernels/ginzburg8.js.map +1 -0
- package/dist/maps/world-kernels/ginzburg9.d.ts +5 -0
- package/dist/maps/world-kernels/ginzburg9.d.ts.map +1 -0
- package/dist/maps/world-kernels/ginzburg9.js +8 -0
- package/dist/maps/world-kernels/ginzburg9.js.map +1 -0
- package/dist/maps/world-kernels/ginzburgPolyconic.d.ts +5 -0
- package/dist/maps/world-kernels/ginzburgPolyconic.d.ts.map +1 -0
- package/dist/maps/world-kernels/ginzburgPolyconic.js +29 -0
- package/dist/maps/world-kernels/ginzburgPolyconic.js.map +1 -0
- package/dist/maps/world-kernels/hammer.d.ts +3 -0
- package/dist/maps/world-kernels/hammer.d.ts.map +1 -0
- package/dist/maps/world-kernels/hammer.js +34 -0
- package/dist/maps/world-kernels/hammer.js.map +1 -0
- package/dist/maps/world-kernels/hammerRetroazimuthal.d.ts +5 -0
- package/dist/maps/world-kernels/hammerRetroazimuthal.d.ts.map +1 -0
- package/dist/maps/world-kernels/hammerRetroazimuthal.js +37 -0
- package/dist/maps/world-kernels/hammerRetroazimuthal.js.map +1 -0
- package/dist/maps/world-kernels/hill.d.ts +5 -0
- package/dist/maps/world-kernels/hill.d.ts.map +1 -0
- package/dist/maps/world-kernels/hill.js +36 -0
- package/dist/maps/world-kernels/hill.js.map +1 -0
- package/dist/maps/world-kernels/homolosine.d.ts +5 -0
- package/dist/maps/world-kernels/homolosine.d.ts.map +1 -0
- package/dist/maps/world-kernels/homolosine.js +22 -0
- package/dist/maps/world-kernels/homolosine.js.map +1 -0
- package/dist/maps/world-kernels/hufnagel.d.ts +5 -0
- package/dist/maps/world-kernels/hufnagel.d.ts.map +1 -0
- package/dist/maps/world-kernels/hufnagel.js +53 -0
- package/dist/maps/world-kernels/hufnagel.js.map +1 -0
- package/dist/maps/world-kernels/hyperelliptical.d.ts +5 -0
- package/dist/maps/world-kernels/hyperelliptical.d.ts.map +1 -0
- package/dist/maps/world-kernels/hyperelliptical.js +47 -0
- package/dist/maps/world-kernels/hyperelliptical.js.map +1 -0
- package/dist/maps/world-kernels/integrate.d.ts +2 -0
- package/dist/maps/world-kernels/integrate.d.ts.map +1 -0
- package/dist/maps/world-kernels/integrate.js +82 -0
- package/dist/maps/world-kernels/integrate.js.map +1 -0
- package/dist/maps/world-kernels/kavrayskiy7.d.ts +5 -0
- package/dist/maps/world-kernels/kavrayskiy7.d.ts.map +1 -0
- package/dist/maps/world-kernels/kavrayskiy7.js +13 -0
- package/dist/maps/world-kernels/kavrayskiy7.js.map +1 -0
- package/dist/maps/world-kernels/lagrange.d.ts +5 -0
- package/dist/maps/world-kernels/lagrange.d.ts.map +1 -0
- package/dist/maps/world-kernels/lagrange.js +27 -0
- package/dist/maps/world-kernels/lagrange.js.map +1 -0
- package/dist/maps/world-kernels/larrivee.d.ts +5 -0
- package/dist/maps/world-kernels/larrivee.d.ts.map +1 -0
- package/dist/maps/world-kernels/larrivee.js +26 -0
- package/dist/maps/world-kernels/larrivee.js.map +1 -0
- package/dist/maps/world-kernels/laskowski.d.ts +5 -0
- package/dist/maps/world-kernels/laskowski.d.ts.map +1 -0
- package/dist/maps/world-kernels/laskowski.js +31 -0
- package/dist/maps/world-kernels/laskowski.js.map +1 -0
- package/dist/maps/world-kernels/littrow.d.ts +5 -0
- package/dist/maps/world-kernels/littrow.d.ts.map +1 -0
- package/dist/maps/world-kernels/littrow.js +13 -0
- package/dist/maps/world-kernels/littrow.js.map +1 -0
- package/dist/maps/world-kernels/loximuthal.d.ts +5 -0
- package/dist/maps/world-kernels/loximuthal.d.ts.map +1 -0
- package/dist/maps/world-kernels/loximuthal.js +30 -0
- package/dist/maps/world-kernels/loximuthal.js.map +1 -0
- package/dist/maps/world-kernels/math.d.ts +36 -0
- package/dist/maps/world-kernels/math.d.ts.map +1 -0
- package/dist/maps/world-kernels/math.js +63 -0
- package/dist/maps/world-kernels/math.js.map +1 -0
- package/dist/maps/world-kernels/miller.d.ts +5 -0
- package/dist/maps/world-kernels/miller.d.ts.map +1 -0
- package/dist/maps/world-kernels/miller.js +13 -0
- package/dist/maps/world-kernels/miller.js.map +1 -0
- package/dist/maps/world-kernels/modifiedStereographic.d.ts +18 -0
- package/dist/maps/world-kernels/modifiedStereographic.d.ts.map +1 -0
- package/dist/maps/world-kernels/modifiedStereographic.js +79 -0
- package/dist/maps/world-kernels/modifiedStereographic.js.map +1 -0
- package/dist/maps/world-kernels/mollweide.d.ts +10 -0
- package/dist/maps/world-kernels/mollweide.d.ts.map +1 -0
- package/dist/maps/world-kernels/mollweide.js +24 -0
- package/dist/maps/world-kernels/mollweide.js.map +1 -0
- package/dist/maps/world-kernels/mtFlatPolarParabolic.d.ts +5 -0
- package/dist/maps/world-kernels/mtFlatPolarParabolic.d.ts.map +1 -0
- package/dist/maps/world-kernels/mtFlatPolarParabolic.js +19 -0
- package/dist/maps/world-kernels/mtFlatPolarParabolic.js.map +1 -0
- package/dist/maps/world-kernels/mtFlatPolarQuartic.d.ts +5 -0
- package/dist/maps/world-kernels/mtFlatPolarQuartic.d.ts.map +1 -0
- package/dist/maps/world-kernels/mtFlatPolarQuartic.js +26 -0
- package/dist/maps/world-kernels/mtFlatPolarQuartic.js.map +1 -0
- package/dist/maps/world-kernels/mtFlatPolarSinusoidal.d.ts +5 -0
- package/dist/maps/world-kernels/mtFlatPolarSinusoidal.d.ts.map +1 -0
- package/dist/maps/world-kernels/mtFlatPolarSinusoidal.js +22 -0
- package/dist/maps/world-kernels/mtFlatPolarSinusoidal.js.map +1 -0
- package/dist/maps/world-kernels/naturalEarth2.d.ts +5 -0
- package/dist/maps/world-kernels/naturalEarth2.d.ts.map +1 -0
- package/dist/maps/world-kernels/naturalEarth2.js +37 -0
- package/dist/maps/world-kernels/naturalEarth2.js.map +1 -0
- package/dist/maps/world-kernels/nellHammer.d.ts +5 -0
- package/dist/maps/world-kernels/nellHammer.d.ts.map +1 -0
- package/dist/maps/world-kernels/nellHammer.js +18 -0
- package/dist/maps/world-kernels/nellHammer.js.map +1 -0
- package/dist/maps/world-kernels/newton.d.ts +3 -0
- package/dist/maps/world-kernels/newton.d.ts.map +1 -0
- package/dist/maps/world-kernels/newton.js +65 -0
- package/dist/maps/world-kernels/newton.js.map +1 -0
- package/dist/maps/world-kernels/nicolosi.d.ts +5 -0
- package/dist/maps/world-kernels/nicolosi.d.ts.map +1 -0
- package/dist/maps/world-kernels/nicolosi.js +38 -0
- package/dist/maps/world-kernels/nicolosi.js.map +1 -0
- package/dist/maps/world-kernels/patterson.d.ts +5 -0
- package/dist/maps/world-kernels/patterson.d.ts.map +1 -0
- package/dist/maps/world-kernels/patterson.js +32 -0
- package/dist/maps/world-kernels/patterson.js.map +1 -0
- package/dist/maps/world-kernels/polyconic.d.ts +5 -0
- package/dist/maps/world-kernels/polyconic.d.ts.map +1 -0
- package/dist/maps/world-kernels/polyconic.js +30 -0
- package/dist/maps/world-kernels/polyconic.js.map +1 -0
- package/dist/maps/world-kernels/rectangularPolyconic.d.ts +5 -0
- package/dist/maps/world-kernels/rectangularPolyconic.d.ts.map +1 -0
- package/dist/maps/world-kernels/rectangularPolyconic.js +31 -0
- package/dist/maps/world-kernels/rectangularPolyconic.js.map +1 -0
- package/dist/maps/world-kernels/robinson.d.ts +5 -0
- package/dist/maps/world-kernels/robinson.d.ts.map +1 -0
- package/dist/maps/world-kernels/robinson.js +63 -0
- package/dist/maps/world-kernels/robinson.js.map +1 -0
- package/dist/maps/world-kernels/satellite.d.ts +5 -0
- package/dist/maps/world-kernels/satellite.d.ts.map +1 -0
- package/dist/maps/world-kernels/satellite.js +32 -0
- package/dist/maps/world-kernels/satellite.js.map +1 -0
- package/dist/maps/world-kernels/sinuMollweide.d.ts +7 -0
- package/dist/maps/world-kernels/sinuMollweide.d.ts.map +1 -0
- package/dist/maps/world-kernels/sinuMollweide.js +20 -0
- package/dist/maps/world-kernels/sinuMollweide.js.map +1 -0
- package/dist/maps/world-kernels/sinusoidal.d.ts +5 -0
- package/dist/maps/world-kernels/sinusoidal.d.ts.map +1 -0
- package/dist/maps/world-kernels/sinusoidal.js +13 -0
- package/dist/maps/world-kernels/sinusoidal.js.map +1 -0
- package/dist/maps/world-kernels/times.d.ts +5 -0
- package/dist/maps/world-kernels/times.d.ts.map +1 -0
- package/dist/maps/world-kernels/times.js +15 -0
- package/dist/maps/world-kernels/times.js.map +1 -0
- package/dist/maps/world-kernels/twoPointEquidistant.d.ts +3 -0
- package/dist/maps/world-kernels/twoPointEquidistant.d.ts.map +1 -0
- package/dist/maps/world-kernels/twoPointEquidistant.js +28 -0
- package/dist/maps/world-kernels/twoPointEquidistant.js.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten.d.ts +5 -0
- package/dist/maps/world-kernels/vanDerGrinten.d.ts.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten.js +30 -0
- package/dist/maps/world-kernels/vanDerGrinten.js.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten2.d.ts +5 -0
- package/dist/maps/world-kernels/vanDerGrinten2.d.ts.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten2.js +25 -0
- package/dist/maps/world-kernels/vanDerGrinten2.js.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten3.d.ts +5 -0
- package/dist/maps/world-kernels/vanDerGrinten3.d.ts.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten3.js +22 -0
- package/dist/maps/world-kernels/vanDerGrinten3.js.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten4.d.ts +5 -0
- package/dist/maps/world-kernels/vanDerGrinten4.d.ts.map +1 -0
- package/dist/maps/world-kernels/vanDerGrinten4.js +38 -0
- package/dist/maps/world-kernels/vanDerGrinten4.js.map +1 -0
- package/dist/maps/world-kernels/wagner.d.ts +5 -0
- package/dist/maps/world-kernels/wagner.d.ts.map +1 -0
- package/dist/maps/world-kernels/wagner.js +44 -0
- package/dist/maps/world-kernels/wagner.js.map +1 -0
- package/dist/maps/world-kernels/wagner4.d.ts +5 -0
- package/dist/maps/world-kernels/wagner4.d.ts.map +1 -0
- package/dist/maps/world-kernels/wagner4.js +10 -0
- package/dist/maps/world-kernels/wagner4.js.map +1 -0
- package/dist/maps/world-kernels/wagner6.d.ts +5 -0
- package/dist/maps/world-kernels/wagner6.d.ts.map +1 -0
- package/dist/maps/world-kernels/wagner6.js +13 -0
- package/dist/maps/world-kernels/wagner6.js.map +1 -0
- package/dist/maps/world-kernels/wiechel.d.ts +5 -0
- package/dist/maps/world-kernels/wiechel.d.ts.map +1 -0
- package/dist/maps/world-kernels/wiechel.js +15 -0
- package/dist/maps/world-kernels/wiechel.js.map +1 -0
- package/dist/maps/world-kernels/winkel3.d.ts +5 -0
- package/dist/maps/world-kernels/winkel3.d.ts.map +1 -0
- package/dist/maps/world-kernels/winkel3.js +20 -0
- package/dist/maps/world-kernels/winkel3.js.map +1 -0
- package/dist/maps/world-kernels.d.ts +150 -0
- package/dist/maps/world-kernels.d.ts.map +1 -0
- package/dist/maps/world-kernels.js +215 -0
- package/dist/maps/world-kernels.js.map +1 -0
- package/dist/maps/world-map.d.ts +25 -0
- package/dist/maps/world-map.d.ts.map +1 -0
- package/dist/maps/world-map.js +187 -0
- package/dist/maps/world-map.js.map +1 -0
- package/dist/maps.cjs +9153 -0
- package/dist/maps.cjs.map +6 -0
- package/dist/maps.d.ts +63 -0
- package/dist/maps.d.ts.map +1 -0
- package/dist/maps.js +43 -0
- package/dist/maps.js.map +1 -0
- package/dist/projection/analysis.cjs +239 -0
- package/dist/projection/analysis.cjs.map +6 -0
- package/dist/projection/analysis.d.ts +72 -0
- package/dist/projection/analysis.d.ts.map +1 -0
- package/dist/projection/analysis.js +221 -0
- package/dist/projection/analysis.js.map +1 -0
- package/dist/projection/bulk.cjs +203 -0
- package/dist/projection/bulk.cjs.map +6 -0
- package/dist/projection/bulk.d.ts +51 -0
- package/dist/projection/bulk.d.ts.map +1 -0
- package/dist/projection/bulk.js +215 -0
- package/dist/projection/bulk.js.map +1 -0
- package/dist/projection/datums.cjs +1383 -0
- package/dist/projection/datums.cjs.map +6 -0
- package/dist/projection/datums.d.ts +5 -0
- package/dist/projection/datums.d.ts.map +1 -0
- package/dist/projection/datums.js +10 -0
- package/dist/projection/datums.js.map +1 -0
- package/dist/projection/deformation.cjs +134 -0
- package/dist/projection/deformation.cjs.map +6 -0
- package/dist/projection/deformation.d.ts +3 -0
- package/dist/projection/deformation.d.ts.map +1 -0
- package/dist/projection/deformation.js +5 -0
- package/dist/projection/deformation.js.map +1 -0
- package/dist/projection/experimental/authalic-latitude.d.ts +7 -0
- package/dist/projection/experimental/authalic-latitude.d.ts.map +1 -0
- package/dist/projection/experimental/authalic-latitude.js +51 -0
- package/dist/projection/experimental/authalic-latitude.js.map +1 -0
- package/dist/projection/experimental/catalogue-kernel.d.ts +9 -0
- package/dist/projection/experimental/catalogue-kernel.d.ts.map +1 -0
- package/dist/projection/experimental/catalogue-kernel.js +44 -0
- package/dist/projection/experimental/catalogue-kernel.js.map +1 -0
- package/dist/projection/experimental/common/adjust_lat.d.ts +2 -0
- package/dist/projection/experimental/common/adjust_lat.d.ts.map +1 -0
- package/dist/projection/experimental/common/adjust_lat.js +10 -0
- package/dist/projection/experimental/common/adjust_lat.js.map +1 -0
- package/dist/projection/experimental/common/adjust_lon.d.ts +2 -0
- package/dist/projection/experimental/common/adjust_lon.d.ts.map +1 -0
- package/dist/projection/experimental/common/adjust_lon.js +13 -0
- package/dist/projection/experimental/common/adjust_lon.js.map +1 -0
- package/dist/projection/experimental/common/asinhy.d.ts +2 -0
- package/dist/projection/experimental/common/asinhy.d.ts.map +1 -0
- package/dist/projection/experimental/common/asinhy.js +12 -0
- package/dist/projection/experimental/common/asinhy.js.map +1 -0
- package/dist/projection/experimental/common/asinz.d.ts +2 -0
- package/dist/projection/experimental/common/asinz.d.ts.map +1 -0
- package/dist/projection/experimental/common/asinz.js +11 -0
- package/dist/projection/experimental/common/asinz.js.map +1 -0
- package/dist/projection/experimental/common/authlat.d.ts +2 -0
- package/dist/projection/experimental/common/authlat.d.ts.map +1 -0
- package/dist/projection/experimental/common/authlat.js +9 -0
- package/dist/projection/experimental/common/authlat.js.map +1 -0
- package/dist/projection/experimental/common/authset.d.ts +2 -0
- package/dist/projection/experimental/common/authset.d.ts.map +1 -0
- package/dist/projection/experimental/common/authset.js +24 -0
- package/dist/projection/experimental/common/authset.js.map +1 -0
- package/dist/projection/experimental/common/clens.d.ts +2 -0
- package/dist/projection/experimental/common/clens.d.ts.map +1 -0
- package/dist/projection/experimental/common/clens.js +18 -0
- package/dist/projection/experimental/common/clens.js.map +1 -0
- package/dist/projection/experimental/common/clens_cmplx.d.ts +5 -0
- package/dist/projection/experimental/common/clens_cmplx.d.ts.map +1 -0
- package/dist/projection/experimental/common/clens_cmplx.js +34 -0
- package/dist/projection/experimental/common/clens_cmplx.js.map +1 -0
- package/dist/projection/experimental/common/constants.d.ts +9 -0
- package/dist/projection/experimental/common/constants.d.ts.map +1 -0
- package/dist/projection/experimental/common/constants.js +14 -0
- package/dist/projection/experimental/common/constants.js.map +1 -0
- package/dist/projection/experimental/common/cosh.d.ts +2 -0
- package/dist/projection/experimental/common/cosh.d.ts.map +1 -0
- package/dist/projection/experimental/common/cosh.js +10 -0
- package/dist/projection/experimental/common/cosh.js.map +1 -0
- package/dist/projection/experimental/common/e0fn.d.ts +2 -0
- package/dist/projection/experimental/common/e0fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e0fn.js +8 -0
- package/dist/projection/experimental/common/e0fn.js.map +1 -0
- package/dist/projection/experimental/common/e1fn.d.ts +2 -0
- package/dist/projection/experimental/common/e1fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e1fn.js +8 -0
- package/dist/projection/experimental/common/e1fn.js.map +1 -0
- package/dist/projection/experimental/common/e2fn.d.ts +2 -0
- package/dist/projection/experimental/common/e2fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e2fn.js +8 -0
- package/dist/projection/experimental/common/e2fn.js.map +1 -0
- package/dist/projection/experimental/common/e3fn.d.ts +2 -0
- package/dist/projection/experimental/common/e3fn.d.ts.map +1 -0
- package/dist/projection/experimental/common/e3fn.js +8 -0
- package/dist/projection/experimental/common/e3fn.js.map +1 -0
- package/dist/projection/experimental/common/fL.d.ts +2 -0
- package/dist/projection/experimental/common/fL.d.ts.map +1 -0
- package/dist/projection/experimental/common/fL.js +9 -0
- package/dist/projection/experimental/common/fL.js.map +1 -0
- package/dist/projection/experimental/common/gN.d.ts +2 -0
- package/dist/projection/experimental/common/gN.d.ts.map +1 -0
- package/dist/projection/experimental/common/gN.js +9 -0
- package/dist/projection/experimental/common/gN.js.map +1 -0
- package/dist/projection/experimental/common/gatg.d.ts +2 -0
- package/dist/projection/experimental/common/gatg.d.ts.map +1 -0
- package/dist/projection/experimental/common/gatg.js +18 -0
- package/dist/projection/experimental/common/gatg.js.map +1 -0
- package/dist/projection/experimental/common/hypot.d.ts +2 -0
- package/dist/projection/experimental/common/hypot.d.ts.map +1 -0
- package/dist/projection/experimental/common/hypot.js +12 -0
- package/dist/projection/experimental/common/hypot.js.map +1 -0
- package/dist/projection/experimental/common/imlfn.d.ts +2 -0
- package/dist/projection/experimental/common/imlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/imlfn.js +21 -0
- package/dist/projection/experimental/common/imlfn.js.map +1 -0
- package/dist/projection/experimental/common/invlatiso.d.ts +2 -0
- package/dist/projection/experimental/common/invlatiso.d.ts.map +1 -0
- package/dist/projection/experimental/common/invlatiso.js +20 -0
- package/dist/projection/experimental/common/invlatiso.js.map +1 -0
- package/dist/projection/experimental/common/iqsfnz.d.ts +2 -0
- package/dist/projection/experimental/common/iqsfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/iqsfnz.js +44 -0
- package/dist/projection/experimental/common/iqsfnz.js.map +1 -0
- package/dist/projection/experimental/common/latiso.d.ts +2 -0
- package/dist/projection/experimental/common/latiso.d.ts.map +1 -0
- package/dist/projection/experimental/common/latiso.js +19 -0
- package/dist/projection/experimental/common/latiso.js.map +1 -0
- package/dist/projection/experimental/common/log1py.d.ts +2 -0
- package/dist/projection/experimental/common/log1py.d.ts.map +1 -0
- package/dist/projection/experimental/common/log1py.js +10 -0
- package/dist/projection/experimental/common/log1py.js.map +1 -0
- package/dist/projection/experimental/common/meridian-distance.d.ts +5 -0
- package/dist/projection/experimental/common/meridian-distance.d.ts.map +1 -0
- package/dist/projection/experimental/common/meridian-distance.js +47 -0
- package/dist/projection/experimental/common/meridian-distance.js.map +1 -0
- package/dist/projection/experimental/common/mlfn.d.ts +2 -0
- package/dist/projection/experimental/common/mlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/mlfn.js +8 -0
- package/dist/projection/experimental/common/mlfn.js.map +1 -0
- package/dist/projection/experimental/common/msfnz.d.ts +2 -0
- package/dist/projection/experimental/common/msfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/msfnz.js +9 -0
- package/dist/projection/experimental/common/msfnz.js.map +1 -0
- package/dist/projection/experimental/common/phi2z.d.ts +2 -0
- package/dist/projection/experimental/common/phi2z.d.ts.map +1 -0
- package/dist/projection/experimental/common/phi2z.js +21 -0
- package/dist/projection/experimental/common/phi2z.js.map +1 -0
- package/dist/projection/experimental/common/pj_enfn.d.ts +2 -0
- package/dist/projection/experimental/common/pj_enfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/pj_enfn.js +28 -0
- package/dist/projection/experimental/common/pj_enfn.js.map +1 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.d.ts +2 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.js +26 -0
- package/dist/projection/experimental/common/pj_inv_mlfn.js.map +1 -0
- package/dist/projection/experimental/common/pj_mlfn.d.ts +2 -0
- package/dist/projection/experimental/common/pj_mlfn.d.ts.map +1 -0
- package/dist/projection/experimental/common/pj_mlfn.js +10 -0
- package/dist/projection/experimental/common/pj_mlfn.js.map +1 -0
- package/dist/projection/experimental/common/qsfnz.d.ts +2 -0
- package/dist/projection/experimental/common/qsfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/qsfnz.js +16 -0
- package/dist/projection/experimental/common/qsfnz.js.map +1 -0
- package/dist/projection/experimental/common/sign.d.ts +2 -0
- package/dist/projection/experimental/common/sign.d.ts.map +1 -0
- package/dist/projection/experimental/common/sign.js +8 -0
- package/dist/projection/experimental/common/sign.js.map +1 -0
- package/dist/projection/experimental/common/sinh.d.ts +2 -0
- package/dist/projection/experimental/common/sinh.d.ts.map +1 -0
- package/dist/projection/experimental/common/sinh.js +10 -0
- package/dist/projection/experimental/common/sinh.js.map +1 -0
- package/dist/projection/experimental/common/srat.d.ts +2 -0
- package/dist/projection/experimental/common/srat.d.ts.map +1 -0
- package/dist/projection/experimental/common/srat.js +8 -0
- package/dist/projection/experimental/common/srat.js.map +1 -0
- package/dist/projection/experimental/common/tsfnz.d.ts +2 -0
- package/dist/projection/experimental/common/tsfnz.d.ts.map +1 -0
- package/dist/projection/experimental/common/tsfnz.js +12 -0
- package/dist/projection/experimental/common/tsfnz.js.map +1 -0
- package/dist/projection/experimental/common/vincenty.d.ts +29 -0
- package/dist/projection/experimental/common/vincenty.d.ts.map +1 -0
- package/dist/projection/experimental/common/vincenty.js +134 -0
- package/dist/projection/experimental/common/vincenty.js.map +1 -0
- package/dist/projection/experimental/core.cjs +2093 -0
- package/dist/projection/experimental/core.cjs.map +6 -0
- package/dist/projection/experimental/core.d.ts +17 -0
- package/dist/projection/experimental/core.d.ts.map +1 -0
- package/dist/projection/experimental/core.js +10 -0
- package/dist/projection/experimental/core.js.map +1 -0
- package/dist/projection/experimental/crs/datum-catalog.d.ts +5 -0
- package/dist/projection/experimental/crs/datum-catalog.d.ts.map +1 -0
- package/dist/projection/experimental/crs/datum-catalog.js +47 -0
- package/dist/projection/experimental/crs/datum-catalog.js.map +1 -0
- package/dist/projection/experimental/crs/datum-table.d.ts +8 -0
- package/dist/projection/experimental/crs/datum-table.d.ts.map +1 -0
- package/dist/projection/experimental/crs/datum-table.js +1355 -0
- package/dist/projection/experimental/crs/datum-table.js.map +1 -0
- package/dist/projection/experimental/crs/ellipsoid-table.d.ts +8 -0
- package/dist/projection/experimental/crs/ellipsoid-table.d.ts.map +1 -0
- package/dist/projection/experimental/crs/ellipsoid-table.js +229 -0
- package/dist/projection/experimental/crs/ellipsoid-table.js.map +1 -0
- package/dist/projection/experimental/crs/normalize.d.ts +11 -0
- package/dist/projection/experimental/crs/normalize.d.ts.map +1 -0
- package/dist/projection/experimental/crs/normalize.js +286 -0
- package/dist/projection/experimental/crs/normalize.js.map +1 -0
- package/dist/projection/experimental/crs/primemeridian-table.d.ts +3 -0
- package/dist/projection/experimental/crs/primemeridian-table.d.ts.map +1 -0
- package/dist/projection/experimental/crs/primemeridian-table.js +20 -0
- package/dist/projection/experimental/crs/primemeridian-table.js.map +1 -0
- package/dist/projection/experimental/crs/projjson.cjs +564 -0
- package/dist/projection/experimental/crs/projjson.cjs.map +6 -0
- package/dist/projection/experimental/crs/projjson.d.ts +4 -0
- package/dist/projection/experimental/crs/projjson.d.ts.map +1 -0
- package/dist/projection/experimental/crs/projjson.js +12 -0
- package/dist/projection/experimental/crs/projjson.js.map +1 -0
- package/dist/projection/experimental/crs/resolve.d.ts +11 -0
- package/dist/projection/experimental/crs/resolve.d.ts.map +1 -0
- package/dist/projection/experimental/crs/resolve.js +61 -0
- package/dist/projection/experimental/crs/resolve.js.map +1 -0
- package/dist/projection/experimental/crs/spatial-reference.d.ts +11 -0
- package/dist/projection/experimental/crs/spatial-reference.d.ts.map +1 -0
- package/dist/projection/experimental/crs/spatial-reference.js +91 -0
- package/dist/projection/experimental/crs/spatial-reference.js.map +1 -0
- package/dist/projection/experimental/crs/structured.d.ts +8 -0
- package/dist/projection/experimental/crs/structured.d.ts.map +1 -0
- package/dist/projection/experimental/crs/structured.js +534 -0
- package/dist/projection/experimental/crs/structured.js.map +1 -0
- package/dist/projection/experimental/crs/types.d.ts +73 -0
- package/dist/projection/experimental/crs/types.d.ts.map +1 -0
- package/dist/projection/experimental/crs/types.js +21 -0
- package/dist/projection/experimental/crs/types.js.map +1 -0
- package/dist/projection/experimental/crs/wkt.cjs +1229 -0
- package/dist/projection/experimental/crs/wkt.cjs.map +6 -0
- package/dist/projection/experimental/crs/wkt.d.ts +3 -0
- package/dist/projection/experimental/crs/wkt.d.ts.map +1 -0
- package/dist/projection/experimental/crs/wkt.js +190 -0
- package/dist/projection/experimental/crs/wkt.js.map +1 -0
- package/dist/projection/experimental/crs-descriptor.d.ts +13 -0
- package/dist/projection/experimental/crs-descriptor.d.ts.map +1 -0
- package/dist/projection/experimental/crs-descriptor.js +174 -0
- package/dist/projection/experimental/crs-descriptor.js.map +1 -0
- package/dist/projection/experimental/crs-rendering-scale.d.ts +5 -0
- package/dist/projection/experimental/crs-rendering-scale.d.ts.map +1 -0
- package/dist/projection/experimental/crs-rendering-scale.js +97 -0
- package/dist/projection/experimental/crs-rendering-scale.js.map +1 -0
- package/dist/projection/experimental/datum.d.ts +17 -0
- package/dist/projection/experimental/datum.d.ts.map +1 -0
- package/dist/projection/experimental/datum.js +160 -0
- package/dist/projection/experimental/datum.js.map +1 -0
- package/dist/projection/experimental/deformation-inverse.d.ts +5 -0
- package/dist/projection/experimental/deformation-inverse.d.ts.map +1 -0
- package/dist/projection/experimental/deformation-inverse.js +89 -0
- package/dist/projection/experimental/deformation-inverse.js.map +1 -0
- package/dist/projection/experimental/deformation.d.ts +23 -0
- package/dist/projection/experimental/deformation.d.ts.map +1 -0
- package/dist/projection/experimental/deformation.js +13 -0
- package/dist/projection/experimental/deformation.js.map +1 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts +10 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.d.ts.map +1 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.js +59 -0
- package/dist/projection/experimental/ellipsoidal-gnomonic.js.map +1 -0
- package/dist/projection/experimental/engine-options.d.ts +10 -0
- package/dist/projection/experimental/engine-options.d.ts.map +1 -0
- package/dist/projection/experimental/engine-options.js +26 -0
- package/dist/projection/experimental/engine-options.js.map +1 -0
- package/dist/projection/experimental/entries/projections/aea.cjs +649 -0
- package/dist/projection/experimental/entries/projections/aea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/aea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/aea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/aea.js +5 -0
- package/dist/projection/experimental/entries/projections/aea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/aeqd.cjs +718 -0
- package/dist/projection/experimental/entries/projections/aeqd.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/aeqd.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/aeqd.js +5 -0
- package/dist/projection/experimental/entries/projections/aeqd.js.map +1 -0
- package/dist/projection/experimental/entries/projections/bonne.cjs +621 -0
- package/dist/projection/experimental/entries/projections/bonne.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/bonne.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/bonne.js +5 -0
- package/dist/projection/experimental/entries/projections/bonne.js.map +1 -0
- package/dist/projection/experimental/entries/projections/cass.cjs +610 -0
- package/dist/projection/experimental/entries/projections/cass.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/cass.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/cass.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/cass.js +5 -0
- package/dist/projection/experimental/entries/projections/cass.js.map +1 -0
- package/dist/projection/experimental/entries/projections/cea.cjs +536 -0
- package/dist/projection/experimental/entries/projections/cea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/cea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/cea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/cea.js +5 -0
- package/dist/projection/experimental/entries/projections/cea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eck6.cjs +562 -0
- package/dist/projection/experimental/entries/projections/eck6.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eck6.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eck6.js +5 -0
- package/dist/projection/experimental/entries/projections/eck6.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eqc.cjs +257 -0
- package/dist/projection/experimental/entries/projections/eqc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eqc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eqc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eqc.js +5 -0
- package/dist/projection/experimental/entries/projections/eqc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eqdc.cjs +650 -0
- package/dist/projection/experimental/entries/projections/eqdc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eqdc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eqdc.js +5 -0
- package/dist/projection/experimental/entries/projections/eqdc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/eqearth.cjs +460 -0
- package/dist/projection/experimental/entries/projections/eqearth.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/eqearth.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/eqearth.js +5 -0
- package/dist/projection/experimental/entries/projections/eqearth.js.map +1 -0
- package/dist/projection/experimental/entries/projections/equi.cjs +477 -0
- package/dist/projection/experimental/entries/projections/equi.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/equi.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/equi.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/equi.js +5 -0
- package/dist/projection/experimental/entries/projections/equi.js.map +1 -0
- package/dist/projection/experimental/entries/projections/etmerc.cjs +887 -0
- package/dist/projection/experimental/entries/projections/etmerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/etmerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/etmerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/etmerc.js +5 -0
- package/dist/projection/experimental/entries/projections/etmerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/geocent.cjs +215 -0
- package/dist/projection/experimental/entries/projections/geocent.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/geocent.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/geocent.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/geocent.js +5 -0
- package/dist/projection/experimental/entries/projections/geocent.js.map +1 -0
- package/dist/projection/experimental/entries/projections/geos.cjs +703 -0
- package/dist/projection/experimental/entries/projections/geos.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/geos.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/geos.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/geos.js +5 -0
- package/dist/projection/experimental/entries/projections/geos.js.map +1 -0
- package/dist/projection/experimental/entries/projections/gnom.cjs +2028 -0
- package/dist/projection/experimental/entries/projections/gnom.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/gnom.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/gnom.js +5 -0
- package/dist/projection/experimental/entries/projections/gnom.js.map +1 -0
- package/dist/projection/experimental/entries/projections/gstmerc.cjs +526 -0
- package/dist/projection/experimental/entries/projections/gstmerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/gstmerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/gstmerc.js +5 -0
- package/dist/projection/experimental/entries/projections/gstmerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/krovak.cjs +683 -0
- package/dist/projection/experimental/entries/projections/krovak.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/krovak.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/krovak.js +5 -0
- package/dist/projection/experimental/entries/projections/krovak.js.map +1 -0
- package/dist/projection/experimental/entries/projections/laea.cjs +797 -0
- package/dist/projection/experimental/entries/projections/laea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/laea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/laea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/laea.js +5 -0
- package/dist/projection/experimental/entries/projections/laea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/lcc.cjs +637 -0
- package/dist/projection/experimental/entries/projections/lcc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/lcc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/lcc.js +5 -0
- package/dist/projection/experimental/entries/projections/lcc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/merc.cjs +355 -0
- package/dist/projection/experimental/entries/projections/merc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/merc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/merc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/merc.js +5 -0
- package/dist/projection/experimental/entries/projections/merc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/mill.cjs +470 -0
- package/dist/projection/experimental/entries/projections/mill.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/mill.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/mill.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/mill.js +5 -0
- package/dist/projection/experimental/entries/projections/mill.js.map +1 -0
- package/dist/projection/experimental/entries/projections/moll.cjs +517 -0
- package/dist/projection/experimental/entries/projections/moll.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/moll.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/moll.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/moll.js +5 -0
- package/dist/projection/experimental/entries/projections/moll.js.map +1 -0
- package/dist/projection/experimental/entries/projections/nzmg.cjs +623 -0
- package/dist/projection/experimental/entries/projections/nzmg.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/nzmg.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/nzmg.js +5 -0
- package/dist/projection/experimental/entries/projections/nzmg.js.map +1 -0
- package/dist/projection/experimental/entries/projections/ob_tran.cjs +540 -0
- package/dist/projection/experimental/entries/projections/ob_tran.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/ob_tran.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/ob_tran.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/ob_tran.js +5 -0
- package/dist/projection/experimental/entries/projections/ob_tran.js.map +1 -0
- package/dist/projection/experimental/entries/projections/omerc.cjs +850 -0
- package/dist/projection/experimental/entries/projections/omerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/omerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/omerc.js +5 -0
- package/dist/projection/experimental/entries/projections/omerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/ortho.cjs +519 -0
- package/dist/projection/experimental/entries/projections/ortho.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/ortho.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/ortho.js +5 -0
- package/dist/projection/experimental/entries/projections/ortho.js.map +1 -0
- package/dist/projection/experimental/entries/projections/poly.cjs +622 -0
- package/dist/projection/experimental/entries/projections/poly.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/poly.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/poly.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/poly.js +5 -0
- package/dist/projection/experimental/entries/projections/poly.js.map +1 -0
- package/dist/projection/experimental/entries/projections/qsc.cjs +695 -0
- package/dist/projection/experimental/entries/projections/qsc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/qsc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/qsc.js +5 -0
- package/dist/projection/experimental/entries/projections/qsc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/robin.cjs +584 -0
- package/dist/projection/experimental/entries/projections/robin.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/robin.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/robin.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/robin.js +5 -0
- package/dist/projection/experimental/entries/projections/robin.js.map +1 -0
- package/dist/projection/experimental/entries/projections/sinu.cjs +586 -0
- package/dist/projection/experimental/entries/projections/sinu.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/sinu.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/sinu.js +5 -0
- package/dist/projection/experimental/entries/projections/sinu.js.map +1 -0
- package/dist/projection/experimental/entries/projections/somerc.cjs +575 -0
- package/dist/projection/experimental/entries/projections/somerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/somerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/somerc.js +5 -0
- package/dist/projection/experimental/entries/projections/somerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/stere.cjs +697 -0
- package/dist/projection/experimental/entries/projections/stere.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/stere.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/stere.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/stere.js +5 -0
- package/dist/projection/experimental/entries/projections/stere.js.map +1 -0
- package/dist/projection/experimental/entries/projections/sterea.cjs +631 -0
- package/dist/projection/experimental/entries/projections/sterea.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/sterea.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/sterea.js +5 -0
- package/dist/projection/experimental/entries/projections/sterea.js.map +1 -0
- package/dist/projection/experimental/entries/projections/tmerc.cjs +887 -0
- package/dist/projection/experimental/entries/projections/tmerc.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/tmerc.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/tmerc.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/tmerc.js +5 -0
- package/dist/projection/experimental/entries/projections/tmerc.js.map +1 -0
- package/dist/projection/experimental/entries/projections/tpers.cjs +645 -0
- package/dist/projection/experimental/entries/projections/tpers.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/tpers.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/tpers.js +5 -0
- package/dist/projection/experimental/entries/projections/tpers.js.map +1 -0
- package/dist/projection/experimental/entries/projections/utm.cjs +915 -0
- package/dist/projection/experimental/entries/projections/utm.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/utm.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/utm.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/utm.js +5 -0
- package/dist/projection/experimental/entries/projections/utm.js.map +1 -0
- package/dist/projection/experimental/entries/projections/vandg.cjs +560 -0
- package/dist/projection/experimental/entries/projections/vandg.cjs.map +6 -0
- package/dist/projection/experimental/entries/projections/vandg.d.ts +2 -0
- package/dist/projection/experimental/entries/projections/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/entries/projections/vandg.js +5 -0
- package/dist/projection/experimental/entries/projections/vandg.js.map +1 -0
- package/dist/projection/experimental/exact-helmert.d.ts +9 -0
- package/dist/projection/experimental/exact-helmert.d.ts.map +1 -0
- package/dist/projection/experimental/exact-helmert.js +32 -0
- package/dist/projection/experimental/exact-helmert.js.map +1 -0
- package/dist/projection/experimental/flat-projection.d.ts +15 -0
- package/dist/projection/experimental/flat-projection.d.ts.map +1 -0
- package/dist/projection/experimental/flat-projection.js +70 -0
- package/dist/projection/experimental/flat-projection.js.map +1 -0
- package/dist/projection/experimental/grids/geotiff.cjs +180 -0
- package/dist/projection/experimental/grids/geotiff.cjs.map +6 -0
- package/dist/projection/experimental/grids/geotiff.d.ts +23 -0
- package/dist/projection/experimental/grids/geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/geotiff.js +59 -0
- package/dist/projection/experimental/grids/geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/grid.d.ts +4 -0
- package/dist/projection/experimental/grids/grid.d.ts.map +1 -0
- package/dist/projection/experimental/grids/grid.js +111 -0
- package/dist/projection/experimental/grids/grid.js.map +1 -0
- package/dist/projection/experimental/grids/gtx.cjs +91 -0
- package/dist/projection/experimental/grids/gtx.cjs.map +6 -0
- package/dist/projection/experimental/grids/gtx.d.ts +7 -0
- package/dist/projection/experimental/grids/gtx.d.ts.map +1 -0
- package/dist/projection/experimental/grids/gtx.js +30 -0
- package/dist/projection/experimental/grids/gtx.js.map +1 -0
- package/dist/projection/experimental/grids/ntv2.cjs +181 -0
- package/dist/projection/experimental/grids/ntv2.cjs.map +6 -0
- package/dist/projection/experimental/grids/ntv2.d.ts +8 -0
- package/dist/projection/experimental/grids/ntv2.d.ts.map +1 -0
- package/dist/projection/experimental/grids/ntv2.js +56 -0
- package/dist/projection/experimental/grids/ntv2.js.map +1 -0
- package/dist/projection/experimental/grids/scalar-geotiff.d.ts +58 -0
- package/dist/projection/experimental/grids/scalar-geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/scalar-geotiff.js +147 -0
- package/dist/projection/experimental/grids/scalar-geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/types.d.ts +35 -0
- package/dist/projection/experimental/grids/types.d.ts.map +1 -0
- package/dist/projection/experimental/grids/types.js +2 -0
- package/dist/projection/experimental/grids/types.js.map +1 -0
- package/dist/projection/experimental/grids/velocity-geotiff.cjs +247 -0
- package/dist/projection/experimental/grids/velocity-geotiff.cjs.map +6 -0
- package/dist/projection/experimental/grids/velocity-geotiff.d.ts +11 -0
- package/dist/projection/experimental/grids/velocity-geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/velocity-geotiff.js +61 -0
- package/dist/projection/experimental/grids/velocity-geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/velocity.d.ts +21 -0
- package/dist/projection/experimental/grids/velocity.d.ts.map +1 -0
- package/dist/projection/experimental/grids/velocity.js +29 -0
- package/dist/projection/experimental/grids/velocity.js.map +1 -0
- package/dist/projection/experimental/grids/vertical-geotiff.cjs +195 -0
- package/dist/projection/experimental/grids/vertical-geotiff.cjs.map +6 -0
- package/dist/projection/experimental/grids/vertical-geotiff.d.ts +6 -0
- package/dist/projection/experimental/grids/vertical-geotiff.d.ts.map +1 -0
- package/dist/projection/experimental/grids/vertical-geotiff.js +20 -0
- package/dist/projection/experimental/grids/vertical-geotiff.js.map +1 -0
- package/dist/projection/experimental/grids/vertical.cjs +80 -0
- package/dist/projection/experimental/grids/vertical.cjs.map +6 -0
- package/dist/projection/experimental/grids/vertical.d.ts +22 -0
- package/dist/projection/experimental/grids/vertical.d.ts.map +1 -0
- package/dist/projection/experimental/grids/vertical.js +73 -0
- package/dist/projection/experimental/grids/vertical.js.map +1 -0
- package/dist/projection/experimental/helmert-flat.d.ts +4 -0
- package/dist/projection/experimental/helmert-flat.d.ts.map +1 -0
- package/dist/projection/experimental/helmert-flat.js +53 -0
- package/dist/projection/experimental/helmert-flat.js.map +1 -0
- package/dist/projection/experimental/index.cjs +11707 -0
- package/dist/projection/experimental/index.cjs.map +6 -0
- package/dist/projection/experimental/index.d.ts +49 -0
- package/dist/projection/experimental/index.d.ts.map +1 -0
- package/dist/projection/experimental/index.js +48 -0
- package/dist/projection/experimental/index.js.map +1 -0
- package/dist/projection/experimental/inverse-spherical-latitude.d.ts +2 -0
- package/dist/projection/experimental/inverse-spherical-latitude.d.ts.map +1 -0
- package/dist/projection/experimental/inverse-spherical-latitude.js +11 -0
- package/dist/projection/experimental/inverse-spherical-latitude.js.map +1 -0
- package/dist/projection/experimental/kernel.d.ts +37 -0
- package/dist/projection/experimental/kernel.d.ts.map +1 -0
- package/dist/projection/experimental/kernel.js +81 -0
- package/dist/projection/experimental/kernel.js.map +1 -0
- package/dist/projection/experimental/kernels/aea.d.ts +25 -0
- package/dist/projection/experimental/kernels/aea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/aea.js +118 -0
- package/dist/projection/experimental/kernels/aea.js.map +1 -0
- package/dist/projection/experimental/kernels/aeqd.d.ts +10 -0
- package/dist/projection/experimental/kernels/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/aeqd.js +168 -0
- package/dist/projection/experimental/kernels/aeqd.js.map +1 -0
- package/dist/projection/experimental/kernels/bonne.d.ts +12 -0
- package/dist/projection/experimental/kernels/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/bonne.js +128 -0
- package/dist/projection/experimental/kernels/bonne.js.map +1 -0
- package/dist/projection/experimental/kernels/cass.d.ts +10 -0
- package/dist/projection/experimental/kernels/cass.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/cass.js +122 -0
- package/dist/projection/experimental/kernels/cass.js.map +1 -0
- package/dist/projection/experimental/kernels/cea.d.ts +6 -0
- package/dist/projection/experimental/kernels/cea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/cea.js +63 -0
- package/dist/projection/experimental/kernels/cea.js.map +1 -0
- package/dist/projection/experimental/kernels/eck6.d.ts +13 -0
- package/dist/projection/experimental/kernels/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/eck6.js +23 -0
- package/dist/projection/experimental/kernels/eck6.js.map +1 -0
- package/dist/projection/experimental/kernels/eqdc.d.ts +19 -0
- package/dist/projection/experimental/kernels/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/eqdc.js +117 -0
- package/dist/projection/experimental/kernels/eqdc.js.map +1 -0
- package/dist/projection/experimental/kernels/eqearth.d.ts +10 -0
- package/dist/projection/experimental/kernels/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/eqearth.js +114 -0
- package/dist/projection/experimental/kernels/eqearth.js.map +1 -0
- package/dist/projection/experimental/kernels/equi.d.ts +9 -0
- package/dist/projection/experimental/kernels/equi.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/equi.js +43 -0
- package/dist/projection/experimental/kernels/equi.js.map +1 -0
- package/dist/projection/experimental/kernels/etmerc.d.ts +13 -0
- package/dist/projection/experimental/kernels/etmerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/etmerc.js +145 -0
- package/dist/projection/experimental/kernels/etmerc.js.map +1 -0
- package/dist/projection/experimental/kernels/gauss.d.ts +12 -0
- package/dist/projection/experimental/kernels/gauss.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/gauss.js +64 -0
- package/dist/projection/experimental/kernels/gauss.js.map +1 -0
- package/dist/projection/experimental/kernels/geos.d.ts +17 -0
- package/dist/projection/experimental/kernels/geos.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/geos.js +153 -0
- package/dist/projection/experimental/kernels/geos.js.map +1 -0
- package/dist/projection/experimental/kernels/gnom.d.ts +14 -0
- package/dist/projection/experimental/kernels/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/gnom.js +102 -0
- package/dist/projection/experimental/kernels/gnom.js.map +1 -0
- package/dist/projection/experimental/kernels/gstmerc.d.ts +13 -0
- package/dist/projection/experimental/kernels/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/gstmerc.js +57 -0
- package/dist/projection/experimental/kernels/gstmerc.js.map +1 -0
- package/dist/projection/experimental/kernels/krovak.d.ts +23 -0
- package/dist/projection/experimental/kernels/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/krovak.js +128 -0
- package/dist/projection/experimental/kernels/krovak.js.map +1 -0
- package/dist/projection/experimental/kernels/laea.d.ts +22 -0
- package/dist/projection/experimental/kernels/laea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/laea.js +296 -0
- package/dist/projection/experimental/kernels/laea.js.map +1 -0
- package/dist/projection/experimental/kernels/lcc.d.ts +10 -0
- package/dist/projection/experimental/kernels/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/lcc.js +126 -0
- package/dist/projection/experimental/kernels/lcc.js.map +1 -0
- package/dist/projection/experimental/kernels/mill.d.ts +6 -0
- package/dist/projection/experimental/kernels/mill.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/mill.js +49 -0
- package/dist/projection/experimental/kernels/mill.js.map +1 -0
- package/dist/projection/experimental/kernels/moll.d.ts +6 -0
- package/dist/projection/experimental/kernels/moll.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/moll.js +104 -0
- package/dist/projection/experimental/kernels/moll.js.map +1 -0
- package/dist/projection/experimental/kernels/nzmg.d.ts +28 -0
- package/dist/projection/experimental/kernels/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/nzmg.js +209 -0
- package/dist/projection/experimental/kernels/nzmg.js.map +1 -0
- package/dist/projection/experimental/kernels/omerc.d.ts +30 -0
- package/dist/projection/experimental/kernels/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/omerc.js +260 -0
- package/dist/projection/experimental/kernels/omerc.js.map +1 -0
- package/dist/projection/experimental/kernels/ortho.d.ts +10 -0
- package/dist/projection/experimental/kernels/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/ortho.js +43 -0
- package/dist/projection/experimental/kernels/ortho.js.map +1 -0
- package/dist/projection/experimental/kernels/poly.d.ts +10 -0
- package/dist/projection/experimental/kernels/poly.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/poly.js +193 -0
- package/dist/projection/experimental/kernels/poly.js.map +1 -0
- package/dist/projection/experimental/kernels/qsc.d.ts +10 -0
- package/dist/projection/experimental/kernels/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/qsc.js +364 -0
- package/dist/projection/experimental/kernels/qsc.js.map +1 -0
- package/dist/projection/experimental/kernels/robin.d.ts +6 -0
- package/dist/projection/experimental/kernels/robin.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/robin.js +166 -0
- package/dist/projection/experimental/kernels/robin.js.map +1 -0
- package/dist/projection/experimental/kernels/sinu.d.ts +12 -0
- package/dist/projection/experimental/kernels/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/sinu.js +107 -0
- package/dist/projection/experimental/kernels/sinu.js.map +1 -0
- package/dist/projection/experimental/kernels/somerc.d.ts +13 -0
- package/dist/projection/experimental/kernels/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/somerc.js +79 -0
- package/dist/projection/experimental/kernels/somerc.js.map +1 -0
- package/dist/projection/experimental/kernels/stere.d.ts +15 -0
- package/dist/projection/experimental/kernels/stere.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/stere.js +207 -0
- package/dist/projection/experimental/kernels/stere.js.map +1 -0
- package/dist/projection/experimental/kernels/sterea.d.ts +11 -0
- package/dist/projection/experimental/kernels/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/sterea.js +67 -0
- package/dist/projection/experimental/kernels/sterea.js.map +1 -0
- package/dist/projection/experimental/kernels/tmerc.d.ts +9 -0
- package/dist/projection/experimental/kernels/tmerc.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/tmerc.js +201 -0
- package/dist/projection/experimental/kernels/tmerc.js.map +1 -0
- package/dist/projection/experimental/kernels/tpers.d.ts +22 -0
- package/dist/projection/experimental/kernels/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/tpers.js +156 -0
- package/dist/projection/experimental/kernels/tpers.js.map +1 -0
- package/dist/projection/experimental/kernels/vandg.d.ts +8 -0
- package/dist/projection/experimental/kernels/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/kernels/vandg.js +133 -0
- package/dist/projection/experimental/kernels/vandg.js.map +1 -0
- package/dist/projection/experimental/kinematic-helmert-flat.d.ts +4 -0
- package/dist/projection/experimental/kinematic-helmert-flat.d.ts.map +1 -0
- package/dist/projection/experimental/kinematic-helmert-flat.js +60 -0
- package/dist/projection/experimental/kinematic-helmert-flat.js.map +1 -0
- package/dist/projection/experimental/kinematic-helmert.d.ts +11 -0
- package/dist/projection/experimental/kinematic-helmert.d.ts.map +1 -0
- package/dist/projection/experimental/kinematic-helmert.js +103 -0
- package/dist/projection/experimental/kinematic-helmert.js.map +1 -0
- package/dist/projection/experimental/lazy-projection.d.ts +17 -0
- package/dist/projection/experimental/lazy-projection.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projection.js +166 -0
- package/dist/projection/experimental/lazy-projection.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/aea.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/aea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/aea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/aea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/aea.js +7 -0
- package/dist/projection/experimental/lazy-projections/aea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/aeqd.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/aeqd.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/aeqd.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/aeqd.js +8 -0
- package/dist/projection/experimental/lazy-projections/aeqd.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/bonne.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/bonne.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/bonne.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/bonne.js +7 -0
- package/dist/projection/experimental/lazy-projections/bonne.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/cass.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/cass.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/cass.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/cass.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/cass.js +7 -0
- package/dist/projection/experimental/lazy-projections/cass.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/cea.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/cea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/cea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/cea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/cea.js +8 -0
- package/dist/projection/experimental/lazy-projections/cea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eck6.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/eck6.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eck6.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eck6.js +7 -0
- package/dist/projection/experimental/lazy-projections/eck6.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqc.cjs +82 -0
- package/dist/projection/experimental/lazy-projections/eqc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eqc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eqc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqc.js +11 -0
- package/dist/projection/experimental/lazy-projections/eqc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqdc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/eqdc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eqdc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqdc.js +8 -0
- package/dist/projection/experimental/lazy-projections/eqdc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqearth.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/eqearth.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/eqearth.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/eqearth.js +7 -0
- package/dist/projection/experimental/lazy-projections/eqearth.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/equi.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/equi.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/equi.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/equi.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/equi.js +7 -0
- package/dist/projection/experimental/lazy-projections/equi.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/etmerc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/etmerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/etmerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/etmerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/etmerc.js +8 -0
- package/dist/projection/experimental/lazy-projections/etmerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/geocent.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/geocent.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/geocent.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/geocent.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/geocent.js +7 -0
- package/dist/projection/experimental/lazy-projections/geocent.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/geos.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/geos.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/geos.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/geos.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/geos.js +7 -0
- package/dist/projection/experimental/lazy-projections/geos.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/gnom.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/gnom.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/gnom.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/gnom.js +7 -0
- package/dist/projection/experimental/lazy-projections/gnom.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.js +9 -0
- package/dist/projection/experimental/lazy-projections/gstmerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/index.cjs +2499 -0
- package/dist/projection/experimental/lazy-projections/index.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/index.d.ts +38 -0
- package/dist/projection/experimental/lazy-projections/index.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/index.js +41 -0
- package/dist/projection/experimental/lazy-projections/index.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/krovak.cjs +87 -0
- package/dist/projection/experimental/lazy-projections/krovak.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/krovak.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/krovak.js +15 -0
- package/dist/projection/experimental/lazy-projections/krovak.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/laea.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/laea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/laea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/laea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/laea.js +8 -0
- package/dist/projection/experimental/lazy-projections/laea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/lcc.cjs +89 -0
- package/dist/projection/experimental/lazy-projections/lcc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/lcc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/lcc.js +18 -0
- package/dist/projection/experimental/lazy-projections/lcc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/merc.cjs +88 -0
- package/dist/projection/experimental/lazy-projections/merc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/merc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/merc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/merc.js +16 -0
- package/dist/projection/experimental/lazy-projections/merc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/mill.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/mill.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/mill.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/mill.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/mill.js +8 -0
- package/dist/projection/experimental/lazy-projections/mill.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/moll.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/moll.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/moll.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/moll.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/moll.js +7 -0
- package/dist/projection/experimental/lazy-projections/moll.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/nzmg.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/nzmg.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/nzmg.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/nzmg.js +8 -0
- package/dist/projection/experimental/lazy-projections/nzmg.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.cjs +90 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.d.ts +5 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.js +18 -0
- package/dist/projection/experimental/lazy-projections/ob_tran.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/omerc.cjs +91 -0
- package/dist/projection/experimental/lazy-projections/omerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/omerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/omerc.js +19 -0
- package/dist/projection/experimental/lazy-projections/omerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/ortho.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/ortho.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/ortho.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/ortho.js +7 -0
- package/dist/projection/experimental/lazy-projections/ortho.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/poly.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/poly.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/poly.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/poly.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/poly.js +7 -0
- package/dist/projection/experimental/lazy-projections/poly.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/qsc.cjs +82 -0
- package/dist/projection/experimental/lazy-projections/qsc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/qsc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/qsc.js +12 -0
- package/dist/projection/experimental/lazy-projections/qsc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/robin.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/robin.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/robin.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/robin.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/robin.js +7 -0
- package/dist/projection/experimental/lazy-projections/robin.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/sinu.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/sinu.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/sinu.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/sinu.js +7 -0
- package/dist/projection/experimental/lazy-projections/sinu.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/somerc.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/somerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/somerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/somerc.js +8 -0
- package/dist/projection/experimental/lazy-projections/somerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/stere.cjs +87 -0
- package/dist/projection/experimental/lazy-projections/stere.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/stere.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/stere.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/stere.js +15 -0
- package/dist/projection/experimental/lazy-projections/stere.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/sterea.cjs +87 -0
- package/dist/projection/experimental/lazy-projections/sterea.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/sterea.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/sterea.js +16 -0
- package/dist/projection/experimental/lazy-projections/sterea.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/tmerc.cjs +89 -0
- package/dist/projection/experimental/lazy-projections/tmerc.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/tmerc.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/tmerc.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/tmerc.js +18 -0
- package/dist/projection/experimental/lazy-projections/tmerc.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/tpers.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/tpers.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/tpers.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/tpers.js +8 -0
- package/dist/projection/experimental/lazy-projections/tpers.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/utm.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/utm.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/utm.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/utm.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/utm.js +8 -0
- package/dist/projection/experimental/lazy-projections/utm.js.map +1 -0
- package/dist/projection/experimental/lazy-projections/vandg.cjs +79 -0
- package/dist/projection/experimental/lazy-projections/vandg.cjs.map +6 -0
- package/dist/projection/experimental/lazy-projections/vandg.d.ts +3 -0
- package/dist/projection/experimental/lazy-projections/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/lazy-projections/vandg.js +7 -0
- package/dist/projection/experimental/lazy-projections/vandg.js.map +1 -0
- package/dist/projection/experimental/mutable-projection.d.ts +6 -0
- package/dist/projection/experimental/mutable-projection.d.ts.map +1 -0
- package/dist/projection/experimental/mutable-projection.js +53 -0
- package/dist/projection/experimental/mutable-projection.js.map +1 -0
- package/dist/projection/experimental/numeric-flat.d.ts +8 -0
- package/dist/projection/experimental/numeric-flat.d.ts.map +1 -0
- package/dist/projection/experimental/numeric-flat.js +54 -0
- package/dist/projection/experimental/numeric-flat.js.map +1 -0
- package/dist/projection/experimental/parameters.d.ts +8 -0
- package/dist/projection/experimental/parameters.d.ts.map +1 -0
- package/dist/projection/experimental/parameters.js +31 -0
- package/dist/projection/experimental/parameters.js.map +1 -0
- package/dist/projection/experimental/projection-descriptor.d.ts +13 -0
- package/dist/projection/experimental/projection-descriptor.d.ts.map +1 -0
- package/dist/projection/experimental/projection-descriptor.js +52 -0
- package/dist/projection/experimental/projection-descriptor.js.map +1 -0
- package/dist/projection/experimental/projection-engine.d.ts +23 -0
- package/dist/projection/experimental/projection-engine.d.ts.map +1 -0
- package/dist/projection/experimental/projection-engine.js +33 -0
- package/dist/projection/experimental/projection-engine.js.map +1 -0
- package/dist/projection/experimental/projection-pipeline.d.ts +142 -0
- package/dist/projection/experimental/projection-pipeline.d.ts.map +1 -0
- package/dist/projection/experimental/projection-pipeline.js +740 -0
- package/dist/projection/experimental/projection-pipeline.js.map +1 -0
- package/dist/projection/experimental/projection-scratch.d.ts +11 -0
- package/dist/projection/experimental/projection-scratch.d.ts.map +1 -0
- package/dist/projection/experimental/projection-scratch.js +25 -0
- package/dist/projection/experimental/projection-scratch.js.map +1 -0
- package/dist/projection/experimental/projections/aea.d.ts +3 -0
- package/dist/projection/experimental/projections/aea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/aea.js +24 -0
- package/dist/projection/experimental/projections/aea.js.map +1 -0
- package/dist/projection/experimental/projections/aeqd.d.ts +3 -0
- package/dist/projection/experimental/projections/aeqd.d.ts.map +1 -0
- package/dist/projection/experimental/projections/aeqd.js +19 -0
- package/dist/projection/experimental/projections/aeqd.js.map +1 -0
- package/dist/projection/experimental/projections/bonne.d.ts +3 -0
- package/dist/projection/experimental/projections/bonne.d.ts.map +1 -0
- package/dist/projection/experimental/projections/bonne.js +25 -0
- package/dist/projection/experimental/projections/bonne.js.map +1 -0
- package/dist/projection/experimental/projections/cass.d.ts +3 -0
- package/dist/projection/experimental/projections/cass.d.ts.map +1 -0
- package/dist/projection/experimental/projections/cass.js +22 -0
- package/dist/projection/experimental/projections/cass.js.map +1 -0
- package/dist/projection/experimental/projections/cea.d.ts +3 -0
- package/dist/projection/experimental/projections/cea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/cea.js +24 -0
- package/dist/projection/experimental/projections/cea.js.map +1 -0
- package/dist/projection/experimental/projections/eck6.d.ts +3 -0
- package/dist/projection/experimental/projections/eck6.d.ts.map +1 -0
- package/dist/projection/experimental/projections/eck6.js +22 -0
- package/dist/projection/experimental/projections/eck6.js.map +1 -0
- package/dist/projection/experimental/projections/eqdc.d.ts +3 -0
- package/dist/projection/experimental/projections/eqdc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/eqdc.js +23 -0
- package/dist/projection/experimental/projections/eqdc.js.map +1 -0
- package/dist/projection/experimental/projections/eqearth.d.ts +3 -0
- package/dist/projection/experimental/projections/eqearth.d.ts.map +1 -0
- package/dist/projection/experimental/projections/eqearth.js +47 -0
- package/dist/projection/experimental/projections/eqearth.js.map +1 -0
- package/dist/projection/experimental/projections/equi.d.ts +3 -0
- package/dist/projection/experimental/projections/equi.d.ts.map +1 -0
- package/dist/projection/experimental/projections/equi.js +24 -0
- package/dist/projection/experimental/projections/equi.js.map +1 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts +4 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.d.ts.map +1 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.js +48 -0
- package/dist/projection/experimental/projections/equidistant-cylindrical.js.map +1 -0
- package/dist/projection/experimental/projections/geocentric.d.ts +3 -0
- package/dist/projection/experimental/projections/geocentric.d.ts.map +1 -0
- package/dist/projection/experimental/projections/geocentric.js +34 -0
- package/dist/projection/experimental/projections/geocentric.js.map +1 -0
- package/dist/projection/experimental/projections/geos.d.ts +3 -0
- package/dist/projection/experimental/projections/geos.d.ts.map +1 -0
- package/dist/projection/experimental/projections/geos.js +30 -0
- package/dist/projection/experimental/projections/geos.js.map +1 -0
- package/dist/projection/experimental/projections/gnom.d.ts +3 -0
- package/dist/projection/experimental/projections/gnom.d.ts.map +1 -0
- package/dist/projection/experimental/projections/gnom.js +22 -0
- package/dist/projection/experimental/projections/gnom.js.map +1 -0
- package/dist/projection/experimental/projections/gstmerc.d.ts +3 -0
- package/dist/projection/experimental/projections/gstmerc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/gstmerc.js +23 -0
- package/dist/projection/experimental/projections/gstmerc.js.map +1 -0
- package/dist/projection/experimental/projections/krovak.d.ts +3 -0
- package/dist/projection/experimental/projections/krovak.d.ts.map +1 -0
- package/dist/projection/experimental/projections/krovak.js +41 -0
- package/dist/projection/experimental/projections/krovak.js.map +1 -0
- package/dist/projection/experimental/projections/laea.d.ts +3 -0
- package/dist/projection/experimental/projections/laea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/laea.js +22 -0
- package/dist/projection/experimental/projections/laea.js.map +1 -0
- package/dist/projection/experimental/projections/lcc.d.ts +3 -0
- package/dist/projection/experimental/projections/lcc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/lcc.js +39 -0
- package/dist/projection/experimental/projections/lcc.js.map +1 -0
- package/dist/projection/experimental/projections/mercator.d.ts +4 -0
- package/dist/projection/experimental/projections/mercator.d.ts.map +1 -0
- package/dist/projection/experimental/projections/mercator.js +107 -0
- package/dist/projection/experimental/projections/mercator.js.map +1 -0
- package/dist/projection/experimental/projections/mill.d.ts +3 -0
- package/dist/projection/experimental/projections/mill.d.ts.map +1 -0
- package/dist/projection/experimental/projections/mill.js +22 -0
- package/dist/projection/experimental/projections/mill.js.map +1 -0
- package/dist/projection/experimental/projections/moll.d.ts +3 -0
- package/dist/projection/experimental/projections/moll.d.ts.map +1 -0
- package/dist/projection/experimental/projections/moll.js +22 -0
- package/dist/projection/experimental/projections/moll.js.map +1 -0
- package/dist/projection/experimental/projections/nzmg.d.ts +3 -0
- package/dist/projection/experimental/projections/nzmg.d.ts.map +1 -0
- package/dist/projection/experimental/projections/nzmg.js +29 -0
- package/dist/projection/experimental/projections/nzmg.js.map +1 -0
- package/dist/projection/experimental/projections/ob-tran.d.ts +4 -0
- package/dist/projection/experimental/projections/ob-tran.d.ts.map +1 -0
- package/dist/projection/experimental/projections/ob-tran.js +194 -0
- package/dist/projection/experimental/projections/ob-tran.js.map +1 -0
- package/dist/projection/experimental/projections/omerc.d.ts +3 -0
- package/dist/projection/experimental/projections/omerc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/omerc.js +69 -0
- package/dist/projection/experimental/projections/omerc.js.map +1 -0
- package/dist/projection/experimental/projections/ortho.d.ts +3 -0
- package/dist/projection/experimental/projections/ortho.d.ts.map +1 -0
- package/dist/projection/experimental/projections/ortho.js +20 -0
- package/dist/projection/experimental/projections/ortho.js.map +1 -0
- package/dist/projection/experimental/projections/poly.d.ts +3 -0
- package/dist/projection/experimental/projections/poly.d.ts.map +1 -0
- package/dist/projection/experimental/projections/poly.js +22 -0
- package/dist/projection/experimental/projections/poly.js.map +1 -0
- package/dist/projection/experimental/projections/qsc.d.ts +3 -0
- package/dist/projection/experimental/projections/qsc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/qsc.js +64 -0
- package/dist/projection/experimental/projections/qsc.js.map +1 -0
- package/dist/projection/experimental/projections/robin.d.ts +3 -0
- package/dist/projection/experimental/projections/robin.d.ts.map +1 -0
- package/dist/projection/experimental/projections/robin.js +22 -0
- package/dist/projection/experimental/projections/robin.js.map +1 -0
- package/dist/projection/experimental/projections/sinu.d.ts +3 -0
- package/dist/projection/experimental/projections/sinu.d.ts.map +1 -0
- package/dist/projection/experimental/projections/sinu.js +22 -0
- package/dist/projection/experimental/projections/sinu.js.map +1 -0
- package/dist/projection/experimental/projections/somerc.d.ts +3 -0
- package/dist/projection/experimental/projections/somerc.d.ts.map +1 -0
- package/dist/projection/experimental/projections/somerc.js +22 -0
- package/dist/projection/experimental/projections/somerc.js.map +1 -0
- package/dist/projection/experimental/projections/stere.d.ts +3 -0
- package/dist/projection/experimental/projections/stere.d.ts.map +1 -0
- package/dist/projection/experimental/projections/stere.js +32 -0
- package/dist/projection/experimental/projections/stere.js.map +1 -0
- package/dist/projection/experimental/projections/sterea.d.ts +3 -0
- package/dist/projection/experimental/projections/sterea.d.ts.map +1 -0
- package/dist/projection/experimental/projections/sterea.js +32 -0
- package/dist/projection/experimental/projections/sterea.js.map +1 -0
- package/dist/projection/experimental/projections/tpers.d.ts +3 -0
- package/dist/projection/experimental/projections/tpers.d.ts.map +1 -0
- package/dist/projection/experimental/projections/tpers.js +31 -0
- package/dist/projection/experimental/projections/tpers.js.map +1 -0
- package/dist/projection/experimental/projections/transverse-mercator.d.ts +6 -0
- package/dist/projection/experimental/projections/transverse-mercator.d.ts.map +1 -0
- package/dist/projection/experimental/projections/transverse-mercator.js +48 -0
- package/dist/projection/experimental/projections/transverse-mercator.js.map +1 -0
- package/dist/projection/experimental/projections/utm.d.ts +3 -0
- package/dist/projection/experimental/projections/utm.d.ts.map +1 -0
- package/dist/projection/experimental/projections/utm.js +37 -0
- package/dist/projection/experimental/projections/utm.js.map +1 -0
- package/dist/projection/experimental/projections/vandg.d.ts +3 -0
- package/dist/projection/experimental/projections/vandg.d.ts.map +1 -0
- package/dist/projection/experimental/projections/vandg.js +22 -0
- package/dist/projection/experimental/projections/vandg.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts +9 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js +79 -0
- package/dist/projection/experimental/rendering-profile/angular-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts +23 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js +131 -0
- package/dist/projection/experimental/rendering-profile/azimuthal-rendering-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts +29 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.js +127 -0
- package/dist/projection/experimental/rendering-profile/geographic-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts +4 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js +18 -0
- package/dist/projection/experimental/rendering-profile/geographic-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts +7 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js +86 -0
- package/dist/projection/experimental/rendering-profile/geostationary-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts +4 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js +13 -0
- package/dist/projection/experimental/rendering-profile/identity-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts +13 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js +76 -0
- package/dist/projection/experimental/rendering-profile/rectangular-rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts +29 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js +143 -0
- package/dist/projection/experimental/rendering-profile/regional-rendering-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts +28 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.js +111 -0
- package/dist/projection/experimental/rendering-profile/rendering-bounds.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts +11 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.js +81 -0
- package/dist/projection/experimental/rendering-profile/rendering-profile.js.map +1 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts +24 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.d.ts.map +1 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js +129 -0
- package/dist/projection/experimental/rendering-profile/spherical-rendering-domain.js.map +1 -0
- package/dist/projection/experimental/scalar-output.d.ts +8 -0
- package/dist/projection/experimental/scalar-output.d.ts.map +1 -0
- package/dist/projection/experimental/scalar-output.js +46 -0
- package/dist/projection/experimental/scalar-output.js.map +1 -0
- package/dist/projection/experimental/spatial-deformation.d.ts +6 -0
- package/dist/projection/experimental/spatial-deformation.d.ts.map +1 -0
- package/dist/projection/experimental/spatial-deformation.js +85 -0
- package/dist/projection/experimental/spatial-deformation.js.map +1 -0
- package/dist/projection/experimental/transform-description.d.ts +8 -0
- package/dist/projection/experimental/transform-description.d.ts.map +1 -0
- package/dist/projection/experimental/transform-description.js +57 -0
- package/dist/projection/experimental/transform-description.js.map +1 -0
- package/dist/projection/experimental/types.d.ts +103 -0
- package/dist/projection/experimental/types.d.ts.map +1 -0
- package/dist/projection/experimental/types.js +5 -0
- package/dist/projection/experimental/types.js.map +1 -0
- package/dist/projection/experimental/typescript-projection.d.ts +80 -0
- package/dist/projection/experimental/typescript-projection.d.ts.map +1 -0
- package/dist/projection/experimental/typescript-projection.js +508 -0
- package/dist/projection/experimental/typescript-projection.js.map +1 -0
- package/dist/projection/experimental/vertical-datum.d.ts +4 -0
- package/dist/projection/experimental/vertical-datum.d.ts.map +1 -0
- package/dist/projection/experimental/vertical-datum.js +43 -0
- package/dist/projection/experimental/vertical-datum.js.map +1 -0
- package/dist/projection/grids/velocity.cjs +92 -0
- package/dist/projection/grids/velocity.cjs.map +6 -0
- package/dist/projection/grids/velocity.d.ts +3 -0
- package/dist/projection/grids/velocity.d.ts.map +1 -0
- package/dist/projection/grids/velocity.js +5 -0
- package/dist/projection/grids/velocity.js.map +1 -0
- package/dist/projection/index.cjs +13164 -0
- package/dist/projection/index.cjs.map +6 -0
- package/dist/projection/index.d.ts +3 -0
- package/dist/projection/index.d.ts.map +1 -0
- package/dist/projection/index.js +6 -0
- package/dist/projection/index.js.map +1 -0
- package/dist/projection/lib/projection.d.ts +8 -0
- package/dist/projection/lib/projection.d.ts.map +1 -0
- package/dist/projection/lib/projection.js +115 -0
- package/dist/projection/lib/projection.js.map +1 -0
- package/dist/projection/numerical-derivative.d.ts +15 -0
- package/dist/projection/numerical-derivative.d.ts.map +1 -0
- package/dist/projection/numerical-derivative.js +47 -0
- package/dist/projection/numerical-derivative.js.map +1 -0
- package/dist/projection/operations.cjs +322 -0
- package/dist/projection/operations.cjs.map +6 -0
- package/dist/projection/operations.d.ts +89 -0
- package/dist/projection/operations.d.ts.map +1 -0
- package/dist/projection/operations.js +344 -0
- package/dist/projection/operations.js.map +1 -0
- package/dist/projection/pipeline.cjs +1965 -0
- package/dist/projection/pipeline.cjs.map +6 -0
- package/dist/projection/pipeline.d.ts +2 -0
- package/dist/projection/pipeline.d.ts.map +1 -0
- package/dist/projection/pipeline.js +5 -0
- package/dist/projection/pipeline.js.map +1 -0
- package/dist/projection/temporal.cjs +290 -0
- package/dist/projection/temporal.cjs.map +6 -0
- package/dist/projection/temporal.d.ts +31 -0
- package/dist/projection/temporal.d.ts.map +1 -0
- package/dist/projection/temporal.js +91 -0
- package/dist/projection/temporal.js.map +1 -0
- package/dist/projection/transform-analysis.cjs +1991 -0
- package/dist/projection/transform-analysis.cjs.map +6 -0
- package/dist/projection/transform-analysis.d.ts +43 -0
- package/dist/projection/transform-analysis.d.ts.map +1 -0
- package/dist/projection/transform-analysis.js +110 -0
- package/dist/projection/transform-analysis.js.map +1 -0
- package/dist/projection/transform-description.d.ts +44 -0
- package/dist/projection/transform-description.d.ts.map +1 -0
- package/dist/projection/transform-description.js +5 -0
- package/dist/projection/transform-description.js.map +1 -0
- package/dist/projection/types.cjs +18 -0
- package/dist/projection/types.cjs.map +6 -0
- package/dist/projection/types.d.ts +55 -0
- package/dist/projection/types.d.ts.map +1 -0
- package/dist/projection/types.js +5 -0
- package/dist/projection/types.js.map +1 -0
- package/dist/projection/web-mercator.cjs +171 -0
- package/dist/projection/web-mercator.cjs.map +6 -0
- package/dist/projection/web-mercator.d.ts +7 -0
- package/dist/projection/web-mercator.d.ts.map +1 -0
- package/dist/projection/web-mercator.js +113 -0
- package/dist/projection/web-mercator.js.map +1 -0
- package/dist/rhumb-path.d.ts +28 -0
- package/dist/rhumb-path.d.ts.map +1 -0
- package/dist/rhumb-path.js +100 -0
- package/dist/rhumb-path.js.map +1 -0
- package/dist/rhumb-polygon.d.ts +11 -0
- package/dist/rhumb-polygon.d.ts.map +1 -0
- package/dist/rhumb-polygon.js +19 -0
- package/dist/rhumb-polygon.js.map +1 -0
- package/dist/subdivide-geodesic-polyline.d.ts +15 -0
- package/dist/subdivide-geodesic-polyline.d.ts.map +1 -0
- package/dist/subdivide-geodesic-polyline.js +52 -0
- package/dist/subdivide-geodesic-polyline.js.map +1 -0
- package/dist/subdivide-globe-mesh.d.ts +20 -0
- package/dist/subdivide-globe-mesh.d.ts.map +1 -0
- package/dist/subdivide-globe-mesh.js +54 -0
- package/dist/subdivide-globe-mesh.js.map +1 -0
- package/dist/subdivide-rhumb-polyline.d.ts +12 -0
- package/dist/subdivide-rhumb-polyline.d.ts.map +1 -0
- package/dist/subdivide-rhumb-polyline.js +82 -0
- package/dist/subdivide-rhumb-polyline.js.map +1 -0
- package/dist/tasks/definitions.d.ts +90 -0
- package/dist/tasks/definitions.d.ts.map +1 -0
- package/dist/tasks/definitions.js +54 -0
- package/dist/tasks/definitions.js.map +1 -0
- package/dist/tasks/index.cjs +23439 -0
- package/dist/tasks/index.cjs.map +6 -0
- package/dist/tasks/index.d.ts +24 -0
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/tasks/index.js +56 -0
- package/dist/tasks/index.js.map +1 -0
- package/dist/tasks/map-worker.d.ts +2 -0
- package/dist/tasks/map-worker.d.ts.map +1 -0
- package/dist/tasks/map-worker.js +7 -0
- package/dist/tasks/map-worker.js.map +1 -0
- package/dist/tasks/operations.d.ts +17 -0
- package/dist/tasks/operations.d.ts.map +1 -0
- package/dist/tasks/operations.js +52 -0
- package/dist/tasks/operations.js.map +1 -0
- package/dist/tasks/projection-worker.d.ts +2 -0
- package/dist/tasks/projection-worker.d.ts.map +1 -0
- package/dist/tasks/projection-worker.js +7 -0
- package/dist/tasks/projection-worker.js.map +1 -0
- package/dist/tasks/terrain-coverage-worker.d.ts +2 -0
- package/dist/tasks/terrain-coverage-worker.d.ts.map +1 -0
- package/dist/tasks/terrain-coverage-worker.js +7 -0
- package/dist/tasks/terrain-coverage-worker.js.map +1 -0
- package/dist/tasks/terrain-coverage.d.ts +25 -0
- package/dist/tasks/terrain-coverage.d.ts.map +1 -0
- package/dist/tasks/terrain-coverage.js +15 -0
- package/dist/tasks/terrain-coverage.js.map +1 -0
- package/dist/tasks/terrain-residency-worker.d.ts +2 -0
- package/dist/tasks/terrain-residency-worker.d.ts.map +1 -0
- package/dist/tasks/terrain-residency-worker.js +7 -0
- package/dist/tasks/terrain-residency-worker.js.map +1 -0
- package/dist/tasks/terrain-residency.d.ts +73 -0
- package/dist/tasks/terrain-residency.d.ts.map +1 -0
- package/dist/tasks/terrain-residency.js +141 -0
- package/dist/tasks/terrain-residency.js.map +1 -0
- package/dist/terrain/adaptive-mesh-types.d.ts +21 -0
- package/dist/terrain/adaptive-mesh-types.d.ts.map +1 -0
- package/dist/terrain/adaptive-mesh-types.js +5 -0
- package/dist/terrain/adaptive-mesh-types.js.map +1 -0
- package/dist/terrain/bounds-regions.d.ts +15 -0
- package/dist/terrain/bounds-regions.d.ts.map +1 -0
- package/dist/terrain/bounds-regions.js +84 -0
- package/dist/terrain/bounds-regions.js.map +1 -0
- package/dist/terrain/bounds-update.d.ts +11 -0
- package/dist/terrain/bounds-update.d.ts.map +1 -0
- package/dist/terrain/bounds-update.js +10 -0
- package/dist/terrain/bounds-update.js.map +1 -0
- package/dist/terrain/bounds.d.ts +41 -0
- package/dist/terrain/bounds.d.ts.map +1 -0
- package/dist/terrain/bounds.js +141 -0
- package/dist/terrain/bounds.js.map +1 -0
- package/dist/terrain/box-index.d.ts +9 -0
- package/dist/terrain/box-index.d.ts.map +1 -0
- package/dist/terrain/box-index.js +43 -0
- package/dist/terrain/box-index.js.map +1 -0
- package/dist/terrain/breakline-mesh.d.ts +18 -0
- package/dist/terrain/breakline-mesh.d.ts.map +1 -0
- package/dist/terrain/breakline-mesh.js +126 -0
- package/dist/terrain/breakline-mesh.js.map +1 -0
- package/dist/terrain/breakline-preprocess.d.ts +11 -0
- package/dist/terrain/breakline-preprocess.d.ts.map +1 -0
- package/dist/terrain/breakline-preprocess.js +94 -0
- package/dist/terrain/breakline-preprocess.js.map +1 -0
- package/dist/terrain/continuous-mesh-error.d.ts +34 -0
- package/dist/terrain/continuous-mesh-error.d.ts.map +1 -0
- package/dist/terrain/continuous-mesh-error.js +221 -0
- package/dist/terrain/continuous-mesh-error.js.map +1 -0
- package/dist/terrain/contour-boundary-diagnostics.d.ts +23 -0
- package/dist/terrain/contour-boundary-diagnostics.d.ts.map +1 -0
- package/dist/terrain/contour-boundary-diagnostics.js +62 -0
- package/dist/terrain/contour-boundary-diagnostics.js.map +1 -0
- package/dist/terrain/contour-mixed-weld.d.ts +25 -0
- package/dist/terrain/contour-mixed-weld.d.ts.map +1 -0
- package/dist/terrain/contour-mixed-weld.js +194 -0
- package/dist/terrain/contour-mixed-weld.js.map +1 -0
- package/dist/terrain/contour-path-data.d.ts +26 -0
- package/dist/terrain/contour-path-data.d.ts.map +1 -0
- package/dist/terrain/contour-path-data.js +59 -0
- package/dist/terrain/contour-path-data.js.map +1 -0
- package/dist/terrain/contour-paths.d.ts +8 -0
- package/dist/terrain/contour-paths.d.ts.map +1 -0
- package/dist/terrain/contour-paths.js +83 -0
- package/dist/terrain/contour-paths.js.map +1 -0
- package/dist/terrain/contour-simplify.d.ts +19 -0
- package/dist/terrain/contour-simplify.d.ts.map +1 -0
- package/dist/terrain/contour-simplify.js +156 -0
- package/dist/terrain/contour-simplify.js.map +1 -0
- package/dist/terrain/contour-tile-paths.d.ts +7 -0
- package/dist/terrain/contour-tile-paths.d.ts.map +1 -0
- package/dist/terrain/contour-tile-paths.js +12 -0
- package/dist/terrain/contour-tile-paths.js.map +1 -0
- package/dist/terrain/contour-tile-weld.d.ts +24 -0
- package/dist/terrain/contour-tile-weld.d.ts.map +1 -0
- package/dist/terrain/contour-tile-weld.js +147 -0
- package/dist/terrain/contour-tile-weld.js.map +1 -0
- package/dist/terrain/contour-topology.d.ts +30 -0
- package/dist/terrain/contour-topology.d.ts.map +1 -0
- package/dist/terrain/contour-topology.js +236 -0
- package/dist/terrain/contour-topology.js.map +1 -0
- package/dist/terrain/contours.d.ts +29 -0
- package/dist/terrain/contours.d.ts.map +1 -0
- package/dist/terrain/contours.js +133 -0
- package/dist/terrain/contours.js.map +1 -0
- package/dist/terrain/delatin-regions.d.ts +14 -0
- package/dist/terrain/delatin-regions.d.ts.map +1 -0
- package/dist/terrain/delatin-regions.js +15 -0
- package/dist/terrain/delatin-regions.js.map +1 -0
- package/dist/terrain/delatin.d.ts +12 -0
- package/dist/terrain/delatin.d.ts.map +1 -0
- package/dist/terrain/delatin.js +69 -0
- package/dist/terrain/delatin.js.map +1 -0
- package/dist/terrain/derivatives.d.ts +23 -0
- package/dist/terrain/derivatives.d.ts.map +1 -0
- package/dist/terrain/derivatives.js +71 -0
- package/dist/terrain/derivatives.js.map +1 -0
- package/dist/terrain/dirty-regions.d.ts +11 -0
- package/dist/terrain/dirty-regions.d.ts.map +1 -0
- package/dist/terrain/dirty-regions.js +34 -0
- package/dist/terrain/dirty-regions.js.map +1 -0
- package/dist/terrain/filtered-pyramid.d.ts +22 -0
- package/dist/terrain/filtered-pyramid.d.ts.map +1 -0
- package/dist/terrain/filtered-pyramid.js +71 -0
- package/dist/terrain/filtered-pyramid.js.map +1 -0
- package/dist/terrain/geographic-lod-seams.d.ts +10 -0
- package/dist/terrain/geographic-lod-seams.d.ts.map +1 -0
- package/dist/terrain/geographic-lod-seams.js +100 -0
- package/dist/terrain/geographic-lod-seams.js.map +1 -0
- package/dist/terrain/geographic-neighbor.d.ts +18 -0
- package/dist/terrain/geographic-neighbor.d.ts.map +1 -0
- package/dist/terrain/geographic-neighbor.js +44 -0
- package/dist/terrain/geographic-neighbor.js.map +1 -0
- package/dist/terrain/geographic-poles.d.ts +24 -0
- package/dist/terrain/geographic-poles.d.ts.map +1 -0
- package/dist/terrain/geographic-poles.js +34 -0
- package/dist/terrain/geographic-poles.js.map +1 -0
- package/dist/terrain/geographic-seam.d.ts +21 -0
- package/dist/terrain/geographic-seam.d.ts.map +1 -0
- package/dist/terrain/geographic-seam.js +52 -0
- package/dist/terrain/geographic-seam.js.map +1 -0
- package/dist/terrain/geographic.d.ts +21 -0
- package/dist/terrain/geographic.d.ts.map +1 -0
- package/dist/terrain/geographic.js +91 -0
- package/dist/terrain/geographic.js.map +1 -0
- package/dist/terrain/geometry.d.ts +14 -0
- package/dist/terrain/geometry.d.ts.map +1 -0
- package/dist/terrain/geometry.js +116 -0
- package/dist/terrain/geometry.js.map +1 -0
- package/dist/terrain/gradient-pyramid-regions.d.ts +15 -0
- package/dist/terrain/gradient-pyramid-regions.d.ts.map +1 -0
- package/dist/terrain/gradient-pyramid-regions.js +112 -0
- package/dist/terrain/gradient-pyramid-regions.js.map +1 -0
- package/dist/terrain/gradient-pyramid-update.d.ts +11 -0
- package/dist/terrain/gradient-pyramid-update.d.ts.map +1 -0
- package/dist/terrain/gradient-pyramid-update.js +17 -0
- package/dist/terrain/gradient-pyramid-update.js.map +1 -0
- package/dist/terrain/gradient-pyramid.d.ts +29 -0
- package/dist/terrain/gradient-pyramid.d.ts.map +1 -0
- package/dist/terrain/gradient-pyramid.js +94 -0
- package/dist/terrain/gradient-pyramid.js.map +1 -0
- package/dist/terrain/height-field.d.ts +31 -0
- package/dist/terrain/height-field.d.ts.map +1 -0
- package/dist/terrain/height-field.js +348 -0
- package/dist/terrain/height-field.js.map +1 -0
- package/dist/terrain/index.cjs +6955 -0
- package/dist/terrain/index.cjs.map +6 -0
- package/dist/terrain/index.d.ts +127 -0
- package/dist/terrain/index.d.ts.map +1 -0
- package/dist/terrain/index.js +78 -0
- package/dist/terrain/index.js.map +1 -0
- package/dist/terrain/isobands-mixed.d.ts +18 -0
- package/dist/terrain/isobands-mixed.d.ts.map +1 -0
- package/dist/terrain/isobands-mixed.js +34 -0
- package/dist/terrain/isobands-mixed.js.map +1 -0
- package/dist/terrain/isobands.d.ts +24 -0
- package/dist/terrain/isobands.d.ts.map +1 -0
- package/dist/terrain/isobands.js +281 -0
- package/dist/terrain/isobands.js.map +1 -0
- package/dist/terrain/lod-coordinate.d.ts +15 -0
- package/dist/terrain/lod-coordinate.d.ts.map +1 -0
- package/dist/terrain/lod-coordinate.js +40 -0
- package/dist/terrain/lod-coordinate.js.map +1 -0
- package/dist/terrain/lod-morph-evaluate.d.ts +8 -0
- package/dist/terrain/lod-morph-evaluate.d.ts.map +1 -0
- package/dist/terrain/lod-morph-evaluate.js +30 -0
- package/dist/terrain/lod-morph-evaluate.js.map +1 -0
- package/dist/terrain/lod-morph.d.ts +35 -0
- package/dist/terrain/lod-morph.d.ts.map +1 -0
- package/dist/terrain/lod-morph.js +87 -0
- package/dist/terrain/lod-morph.js.map +1 -0
- package/dist/terrain/lod-select.d.ts +32 -0
- package/dist/terrain/lod-select.d.ts.map +1 -0
- package/dist/terrain/lod-select.js +60 -0
- package/dist/terrain/lod-select.js.map +1 -0
- package/dist/terrain/lod-stitch.d.ts +15 -0
- package/dist/terrain/lod-stitch.d.ts.map +1 -0
- package/dist/terrain/lod-stitch.js +64 -0
- package/dist/terrain/lod-stitch.js.map +1 -0
- package/dist/terrain/martini-regions.d.ts +14 -0
- package/dist/terrain/martini-regions.d.ts.map +1 -0
- package/dist/terrain/martini-regions.js +26 -0
- package/dist/terrain/martini-regions.js.map +1 -0
- package/dist/terrain/martini.d.ts +13 -0
- package/dist/terrain/martini.d.ts.map +1 -0
- package/dist/terrain/martini.js +65 -0
- package/dist/terrain/martini.js.map +1 -0
- package/dist/terrain/mesh-coverage.d.ts +35 -0
- package/dist/terrain/mesh-coverage.d.ts.map +1 -0
- package/dist/terrain/mesh-coverage.js +186 -0
- package/dist/terrain/mesh-coverage.js.map +1 -0
- package/dist/terrain/mesh-data.d.ts +21 -0
- package/dist/terrain/mesh-data.d.ts.map +1 -0
- package/dist/terrain/mesh-data.js +79 -0
- package/dist/terrain/mesh-data.js.map +1 -0
- package/dist/terrain/mesh-edges.d.ts +7 -0
- package/dist/terrain/mesh-edges.d.ts.map +1 -0
- package/dist/terrain/mesh-edges.js +21 -0
- package/dist/terrain/mesh-edges.js.map +1 -0
- package/dist/terrain/mesh-error.d.ts +16 -0
- package/dist/terrain/mesh-error.d.ts.map +1 -0
- package/dist/terrain/mesh-error.js +122 -0
- package/dist/terrain/mesh-error.js.map +1 -0
- package/dist/terrain/mesh-regions-data.d.ts +24 -0
- package/dist/terrain/mesh-regions-data.d.ts.map +1 -0
- package/dist/terrain/mesh-regions-data.js +90 -0
- package/dist/terrain/mesh-regions-data.js.map +1 -0
- package/dist/terrain/mesh-regions.d.ts +12 -0
- package/dist/terrain/mesh-regions.d.ts.map +1 -0
- package/dist/terrain/mesh-regions.js +10 -0
- package/dist/terrain/mesh-regions.js.map +1 -0
- package/dist/terrain/mesh-skirts.d.ts +29 -0
- package/dist/terrain/mesh-skirts.d.ts.map +1 -0
- package/dist/terrain/mesh-skirts.js +119 -0
- package/dist/terrain/mesh-skirts.js.map +1 -0
- package/dist/terrain/mesh-stitch.d.ts +35 -0
- package/dist/terrain/mesh-stitch.d.ts.map +1 -0
- package/dist/terrain/mesh-stitch.js +267 -0
- package/dist/terrain/mesh-stitch.js.map +1 -0
- package/dist/terrain/mesh-update.d.ts +11 -0
- package/dist/terrain/mesh-update.d.ts.map +1 -0
- package/dist/terrain/mesh-update.js +10 -0
- package/dist/terrain/mesh-update.js.map +1 -0
- package/dist/terrain/mesh.d.ts +6 -0
- package/dist/terrain/mesh.d.ts.map +1 -0
- package/dist/terrain/mesh.js +38 -0
- package/dist/terrain/mesh.js.map +1 -0
- package/dist/terrain/mixed-gradient-update.d.ts +15 -0
- package/dist/terrain/mixed-gradient-update.d.ts.map +1 -0
- package/dist/terrain/mixed-gradient-update.js +24 -0
- package/dist/terrain/mixed-gradient-update.js.map +1 -0
- package/dist/terrain/mixed-halo-update.d.ts +16 -0
- package/dist/terrain/mixed-halo-update.d.ts.map +1 -0
- package/dist/terrain/mixed-halo-update.js +123 -0
- package/dist/terrain/mixed-halo-update.js.map +1 -0
- package/dist/terrain/mixed-surface.d.ts +27 -0
- package/dist/terrain/mixed-surface.d.ts.map +1 -0
- package/dist/terrain/mixed-surface.js +160 -0
- package/dist/terrain/mixed-surface.js.map +1 -0
- package/dist/terrain/mixed-vertex-halos.d.ts +42 -0
- package/dist/terrain/mixed-vertex-halos.d.ts.map +1 -0
- package/dist/terrain/mixed-vertex-halos.js +163 -0
- package/dist/terrain/mixed-vertex-halos.js.map +1 -0
- package/dist/terrain/packed.d.ts +33 -0
- package/dist/terrain/packed.d.ts.map +1 -0
- package/dist/terrain/packed.js +136 -0
- package/dist/terrain/packed.js.map +1 -0
- package/dist/terrain/persistent-bounds.d.ts +16 -0
- package/dist/terrain/persistent-bounds.d.ts.map +1 -0
- package/dist/terrain/persistent-bounds.js +51 -0
- package/dist/terrain/persistent-bounds.js.map +1 -0
- package/dist/terrain/persistent-gradients.d.ts +16 -0
- package/dist/terrain/persistent-gradients.d.ts.map +1 -0
- package/dist/terrain/persistent-gradients.js +69 -0
- package/dist/terrain/persistent-gradients.js.map +1 -0
- package/dist/terrain/persistent-hierarchy-data.d.ts +41 -0
- package/dist/terrain/persistent-hierarchy-data.d.ts.map +1 -0
- package/dist/terrain/persistent-hierarchy-data.js +130 -0
- package/dist/terrain/persistent-hierarchy-data.js.map +1 -0
- package/dist/terrain/profile-horizon.d.ts +20 -0
- package/dist/terrain/profile-horizon.d.ts.map +1 -0
- package/dist/terrain/profile-horizon.js +69 -0
- package/dist/terrain/profile-horizon.js.map +1 -0
- package/dist/terrain/profile-measure.d.ts +26 -0
- package/dist/terrain/profile-measure.d.ts.map +1 -0
- package/dist/terrain/profile-measure.js +111 -0
- package/dist/terrain/profile-measure.js.map +1 -0
- package/dist/terrain/profile-slope.d.ts +3 -0
- package/dist/terrain/profile-slope.d.ts.map +1 -0
- package/dist/terrain/profile-slope.js +35 -0
- package/dist/terrain/profile-slope.js.map +1 -0
- package/dist/terrain/profile-viewshed.d.ts +17 -0
- package/dist/terrain/profile-viewshed.d.ts.map +1 -0
- package/dist/terrain/profile-viewshed.js +51 -0
- package/dist/terrain/profile-viewshed.js.map +1 -0
- package/dist/terrain/profile-visibility.d.ts +21 -0
- package/dist/terrain/profile-visibility.d.ts.map +1 -0
- package/dist/terrain/profile-visibility.js +61 -0
- package/dist/terrain/profile-visibility.js.map +1 -0
- package/dist/terrain/profile.d.ts +22 -0
- package/dist/terrain/profile.d.ts.map +1 -0
- package/dist/terrain/profile.js +76 -0
- package/dist/terrain/profile.js.map +1 -0
- package/dist/terrain/sample-triangle-height.d.ts +4 -0
- package/dist/terrain/sample-triangle-height.d.ts.map +1 -0
- package/dist/terrain/sample-triangle-height.js +46 -0
- package/dist/terrain/sample-triangle-height.js.map +1 -0
- package/dist/terrain/slope-aspect.d.ts +21 -0
- package/dist/terrain/slope-aspect.d.ts.map +1 -0
- package/dist/terrain/slope-aspect.js +52 -0
- package/dist/terrain/slope-aspect.js.map +1 -0
- package/dist/terrain/surface.d.ts +123 -0
- package/dist/terrain/surface.d.ts.map +1 -0
- package/dist/terrain/surface.js +366 -0
- package/dist/terrain/surface.js.map +1 -0
- package/dist/terrain/sweep-capsule.d.ts +27 -0
- package/dist/terrain/sweep-capsule.d.ts.map +1 -0
- package/dist/terrain/sweep-capsule.js +104 -0
- package/dist/terrain/sweep-capsule.js.map +1 -0
- package/dist/terrain/sweep-cylinder.d.ts +16 -0
- package/dist/terrain/sweep-cylinder.d.ts.map +1 -0
- package/dist/terrain/sweep-cylinder.js +52 -0
- package/dist/terrain/sweep-cylinder.js.map +1 -0
- package/dist/terrain/sweep-plane.d.ts +9 -0
- package/dist/terrain/sweep-plane.d.ts.map +1 -0
- package/dist/terrain/sweep-plane.js +52 -0
- package/dist/terrain/sweep-plane.js.map +1 -0
- package/dist/terrain/sweep-polytope.d.ts +38 -0
- package/dist/terrain/sweep-polytope.d.ts.map +1 -0
- package/dist/terrain/sweep-polytope.js +179 -0
- package/dist/terrain/sweep-polytope.js.map +1 -0
- package/dist/terrain/sweep-sphere.d.ts +27 -0
- package/dist/terrain/sweep-sphere.d.ts.map +1 -0
- package/dist/terrain/sweep-sphere.js +69 -0
- package/dist/terrain/sweep-sphere.js.map +1 -0
- package/dist/terrain/tile-update-data.d.ts +14 -0
- package/dist/terrain/tile-update-data.d.ts.map +1 -0
- package/dist/terrain/tile-update-data.js +23 -0
- package/dist/terrain/tile-update-data.js.map +1 -0
- package/dist/terrain/tiled.d.ts +88 -0
- package/dist/terrain/tiled.d.ts.map +1 -0
- package/dist/terrain/tiled.js +382 -0
- package/dist/terrain/tiled.js.map +1 -0
- package/dist/terrain/types.d.ts +64 -0
- package/dist/terrain/types.d.ts.map +1 -0
- package/dist/terrain/types.js +13 -0
- package/dist/terrain/types.js.map +1 -0
- package/dist/terrain/valid-domain-mesh.d.ts +29 -0
- package/dist/terrain/valid-domain-mesh.d.ts.map +1 -0
- package/dist/terrain/valid-domain-mesh.js +183 -0
- package/dist/terrain/valid-domain-mesh.js.map +1 -0
- package/dist/terrain/valid-domain-regions.d.ts +16 -0
- package/dist/terrain/valid-domain-regions.d.ts.map +1 -0
- package/dist/terrain/valid-domain-regions.js +19 -0
- package/dist/terrain/valid-domain-regions.js.map +1 -0
- package/dist/terrain/vendor/delatin.d.ts +38 -0
- package/dist/terrain/vendor/delatin.d.ts.map +1 -0
- package/dist/terrain/vendor/delatin.js +407 -0
- package/dist/terrain/vendor/delatin.js.map +1 -0
- package/dist/terrain/vertex-halo-invalidation.d.ts +16 -0
- package/dist/terrain/vertex-halo-invalidation.d.ts.map +1 -0
- package/dist/terrain/vertex-halo-invalidation.js +50 -0
- package/dist/terrain/vertex-halo-invalidation.js.map +1 -0
- package/dist/terrain/vertex-halo-update.d.ts +18 -0
- package/dist/terrain/vertex-halo-update.d.ts.map +1 -0
- package/dist/terrain/vertex-halo-update.js +76 -0
- package/dist/terrain/vertex-halo-update.js.map +1 -0
- package/dist/terrain/vertex-halos.d.ts +26 -0
- package/dist/terrain/vertex-halos.d.ts.map +1 -0
- package/dist/terrain/vertex-halos.js +80 -0
- package/dist/terrain/vertex-halos.js.map +1 -0
- package/dist/terrain/vertex-tiles.d.ts +35 -0
- package/dist/terrain/vertex-tiles.d.ts.map +1 -0
- package/dist/terrain/vertex-tiles.js +120 -0
- package/dist/terrain/vertex-tiles.js.map +1 -0
- package/dist/tile-matrix.d.ts +107 -0
- package/dist/tile-matrix.d.ts.map +1 -0
- package/dist/tile-matrix.js +383 -0
- package/dist/tile-matrix.js.map +1 -0
- package/dist/tiles.d.ts +5 -0
- package/dist/tiles.d.ts.map +1 -0
- package/dist/tiles.js +6 -0
- package/dist/tiles.js.map +1 -0
- package/dist/triaxial/integrate.d.ts +2 -0
- package/dist/triaxial/integrate.d.ts.map +1 -0
- package/dist/triaxial/integrate.js +76 -0
- package/dist/triaxial/integrate.js.map +1 -0
- package/dist/triaxial.d.ts +42 -0
- package/dist/triaxial.d.ts.map +1 -0
- package/dist/triaxial.js +141 -0
- package/dist/triaxial.js.map +1 -0
- package/dist/turf/expressions.cjs +87 -0
- package/dist/turf/expressions.cjs.map +6 -0
- package/dist/turf/expressions.d.ts +24 -0
- package/dist/turf/expressions.d.ts.map +1 -0
- package/dist/turf/expressions.js +76 -0
- package/dist/turf/expressions.js.map +1 -0
- package/dist/turf.cjs +1078 -0
- package/dist/turf.cjs.map +6 -0
- package/dist/turf.d.ts +112 -0
- package/dist/turf.d.ts.map +1 -0
- package/dist/turf.js +1093 -0
- package/dist/turf.js.map +1 -0
- package/dist/type-utils.d.ts +2 -0
- package/dist/type-utils.d.ts.map +1 -1
- package/dist/type-utils.js +25 -2
- package/dist/type-utils.js.map +1 -1
- package/dist/vendor/geographiclib-geodesic/runtime.d.ts +9 -0
- package/dist/vendor/geographiclib-geodesic/runtime.d.ts.map +1 -0
- package/dist/vendor/geographiclib-geodesic/runtime.js +2245 -0
- package/dist/vendor/geographiclib-geodesic/runtime.js.map +1 -0
- package/dist/web-mercator.d.ts +2 -0
- package/dist/web-mercator.d.ts.map +1 -0
- package/dist/web-mercator.js +5 -0
- package/dist/web-mercator.js.map +1 -0
- package/package.json +1043 -6
- package/src/constants.ts +5 -3
- package/src/coordinates/angles.ts +160 -0
- package/src/coordinates/grid.ts +141 -0
- package/src/coordinates/mgrs.ts +157 -0
- package/src/coordinates.ts +24 -0
- package/src/crs/crs-descriptor-types.ts +81 -0
- package/src/crs/crs-descriptor.ts +203 -0
- package/src/crs/crs-identifier.ts +86 -0
- package/src/crs/crs-metadata.ts +63 -0
- package/src/crs/crs.ts +36 -0
- package/src/crs/execution-identity.ts +98 -0
- package/src/crs/index.ts +102 -0
- package/src/crs/proj-string.ts +239 -0
- package/src/crs/projection-domain.ts +100 -0
- package/src/crs/projjson-schema-constants.ts +9 -0
- package/src/crs/projjson-types.ts +665 -0
- package/src/crs/projjson.schema.json +1174 -0
- package/src/crs/resolver.ts +194 -0
- package/src/crs/spatial-reference.ts +224 -0
- package/src/crs/units-table.ts +51 -0
- package/src/crs/wkt-crs.ts +790 -0
- package/src/elastic.ts +7 -0
- package/src/ellipsoid-geodesic.ts +170 -0
- package/src/ellipsoid-helpers/ellipsoid-transform.ts +79 -20
- package/src/ellipsoid-helpers/exact-nearest-surface.ts +118 -0
- package/src/ellipsoid-helpers/intersection-bounds.ts +85 -0
- package/src/ellipsoid-helpers/nearest-surface.ts +157 -0
- package/src/ellipsoid-helpers/rhumb-pole-distance.ts +76 -0
- package/src/ellipsoid-helpers/scale-to-geodetic-surface.ts +31 -90
- package/src/ellipsoid-helpers/surface-polygon.ts +210 -0
- package/src/ellipsoid-helpers/tangent-plane-numerics.ts +124 -0
- package/src/ellipsoid-metrics.ts +225 -0
- package/src/ellipsoid-occluder.ts +135 -0
- package/src/ellipsoid-rhumb.ts +408 -0
- package/src/ellipsoid-tangent-plane.ts +236 -38
- package/src/ellipsoid-transforms.ts +61 -0
- package/src/ellipsoid.ts +281 -117
- package/src/entries/ellipsoid.ts +44 -0
- package/src/expressions.ts +35 -0
- package/src/geodesic-buffer.ts +120 -0
- package/src/geodesic-exact/area.ts +70 -0
- package/src/geodesic-exact/inverse-engine.ts +166 -0
- package/src/geodesic-exact/polygon.ts +36 -0
- package/src/geodesic-exact/quadrature.ts +60 -0
- package/src/geodesic-exact.ts +290 -0
- package/src/geodesic-intersections.ts +598 -0
- package/src/geodesic-path.ts +128 -0
- package/src/geodesic-polygon.ts +19 -0
- package/src/geographic-atlas/atlas.ts +645 -0
- package/src/geographic-atlas/curves.ts +360 -0
- package/src/geographic-atlas/math.ts +125 -0
- package/src/geographic-atlas/sampling.ts +146 -0
- package/src/geographic-atlas/topology.ts +196 -0
- package/src/geographic-atlas/types.ts +48 -0
- package/src/geographic-atlas.ts +104 -0
- package/src/geographic-cuts.ts +114 -0
- package/src/geographic-seams/cut-options.ts +50 -0
- package/src/geographic-seams/edge.ts +416 -0
- package/src/geographic-seams/latitude.ts +47 -0
- package/src/geographic-seams/polygon.ts +551 -0
- package/src/geographic-seams/subdivide-cut.ts +203 -0
- package/src/geographic-seams/types.ts +67 -0
- package/src/geographic-seams.ts +81 -0
- package/src/geographic-tiles.ts +87 -0
- package/src/globe-horizon-bounds.ts +68 -0
- package/src/globe.ts +31 -0
- package/src/index.ts +443 -8
- package/src/lng-lat-rectangle.ts +5 -3
- package/src/local-reference-frame.ts +316 -0
- package/src/make-obb-from-region.ts +6 -4
- package/src/maps/AIR-OCEAN-LICENSE.txt +26 -0
- package/src/maps/D3-LICENSE.txt +37 -0
- package/src/maps/PETROFF-LICENSE.txt +55 -0
- package/src/maps/PROJ-LICENSE.txt +34 -0
- package/src/maps/air-ocean-mesh.ts +86 -0
- package/src/maps/albers-usa.ts +181 -0
- package/src/maps/cap-map.ts +635 -0
- package/src/maps/elastic/UNLICENSE.txt +24 -0
- package/src/maps/elastic/data.ts +86 -0
- package/src/maps/elastic/elasticI.ts +5238 -0
- package/src/maps/elastic/elasticII.ts +18167 -0
- package/src/maps/elastic/elasticIII.ts +29571 -0
- package/src/maps/elastic/geometry.ts +183 -0
- package/src/maps/elastic/grid.ts +194 -0
- package/src/maps/elastic/map.ts +621 -0
- package/src/maps/elastic/source-arc.ts +129 -0
- package/src/maps/geometry.ts +12 -0
- package/src/maps/global-polygons.ts +327 -0
- package/src/maps/gray-fuller.ts +38 -0
- package/src/maps/gringorten-kernel.ts +160 -0
- package/src/maps/h3-face-map.ts +251 -0
- package/src/maps/healpix.ts +61 -0
- package/src/maps/layout.ts +177 -0
- package/src/maps/map-engine.ts +484 -0
- package/src/maps/map-layout.ts +777 -0
- package/src/maps/map-surface-mesh.ts +229 -0
- package/src/maps/map-transition-mesh.ts +421 -0
- package/src/maps/map-transition.ts +403 -0
- package/src/maps/math.ts +67 -0
- package/src/maps/mercator-map.ts +298 -0
- package/src/maps/myriahedral/graticule.ts +40 -0
- package/src/maps/myriahedral/mesh.ts +138 -0
- package/src/maps/myriahedral/unfold.ts +240 -0
- package/src/maps/myriahedral.ts +311 -0
- package/src/maps/petroff.ts +178 -0
- package/src/maps/polygon-constraints.ts +184 -0
- package/src/maps/polyhedral.ts +138 -0
- package/src/maps/prepare-features.ts +393 -0
- package/src/maps/preset-kernels.ts +450 -0
- package/src/maps/presets.ts +355 -0
- package/src/maps/projection-catalog.ts +132 -0
- package/src/maps/projection-surface.ts +70 -0
- package/src/maps/quincuncial-kernel.ts +173 -0
- package/src/maps/quincuncial-star.ts +328 -0
- package/src/maps/regional-map.ts +229 -0
- package/src/maps/retroazimuthal-map.ts +52 -0
- package/src/maps/rotated-map.ts +92 -0
- package/src/maps/snyder-mesh.ts +88 -0
- package/src/maps/snyder.ts +171 -0
- package/src/maps/source-arc.ts +31 -0
- package/src/maps/spherical-clip/D3-GEO-LICENSE.txt +34 -0
- package/src/maps/spherical-clip/cartesian.ts +43 -0
- package/src/maps/spherical-clip/circle.js +35 -0
- package/src/maps/spherical-clip/clip-buffer.js +29 -0
- package/src/maps/spherical-clip/clip-circle.js +197 -0
- package/src/maps/spherical-clip/clip-index.js +140 -0
- package/src/maps/spherical-clip/clip-rejoin.js +111 -0
- package/src/maps/spherical-clip/helpers.js +20 -0
- package/src/maps/spherical-clip/math.ts +45 -0
- package/src/maps/spherical-clip/noop.ts +6 -0
- package/src/maps/spherical-clip/pointEqual.ts +10 -0
- package/src/maps/spherical-clip/polygonContains.js +96 -0
- package/src/maps/surfaces.ts +7 -0
- package/src/maps/transitions.ts +8 -0
- package/src/maps/world-composite-kernels.ts +30 -0
- package/src/maps/world-kernels/INTEGRATE-LICENSE.txt +21 -0
- package/src/maps/world-kernels/airy.js +43 -0
- package/src/maps/world-kernels/aitoff.js +48 -0
- package/src/maps/world-kernels/armadillo.js +51 -0
- package/src/maps/world-kernels/august.js +36 -0
- package/src/maps/world-kernels/baker.js +50 -0
- package/src/maps/world-kernels/bertin.js +41 -0
- package/src/maps/world-kernels/boggs.js +32 -0
- package/src/maps/world-kernels/bonne.js +27 -0
- package/src/maps/world-kernels/bottomley.js +25 -0
- package/src/maps/world-kernels/bromley.js +10 -0
- package/src/maps/world-kernels/chamberlin.js +97 -0
- package/src/maps/world-kernels/collignon.ts +17 -0
- package/src/maps/world-kernels/craig.js +33 -0
- package/src/maps/world-kernels/craster.ts +18 -0
- package/src/maps/world-kernels/cylindricalEqualArea.js +21 -0
- package/src/maps/world-kernels/cylindricalStereographic.js +21 -0
- package/src/maps/world-kernels/d3-geo-raw.js +26 -0
- package/src/maps/world-kernels/eckert1.ts +18 -0
- package/src/maps/world-kernels/eckert2.ts +17 -0
- package/src/maps/world-kernels/eckert3.ts +17 -0
- package/src/maps/world-kernels/eckert4.ts +24 -0
- package/src/maps/world-kernels/eckert5.ts +17 -0
- package/src/maps/world-kernels/eckert6.ts +22 -0
- package/src/maps/world-kernels/eisenlohr.js +88 -0
- package/src/maps/world-kernels/fahey.ts +19 -0
- package/src/maps/world-kernels/foucaut.ts +20 -0
- package/src/maps/world-kernels/foucautSinusoidal.js +38 -0
- package/src/maps/world-kernels/ginzburg4.js +17 -0
- package/src/maps/world-kernels/ginzburg5.js +17 -0
- package/src/maps/world-kernels/ginzburg6.js +19 -0
- package/src/maps/world-kernels/ginzburg8.js +34 -0
- package/src/maps/world-kernels/ginzburg9.js +17 -0
- package/src/maps/world-kernels/ginzburgPolyconic.js +64 -0
- package/src/maps/world-kernels/hammer.js +37 -0
- package/src/maps/world-kernels/hammerRetroazimuthal.js +63 -0
- package/src/maps/world-kernels/hill.js +57 -0
- package/src/maps/world-kernels/homolosine.js +24 -0
- package/src/maps/world-kernels/hufnagel.js +68 -0
- package/src/maps/world-kernels/hyperelliptical.js +56 -0
- package/src/maps/world-kernels/integrate.js +99 -0
- package/src/maps/world-kernels/kavrayskiy7.ts +15 -0
- package/src/maps/world-kernels/lagrange.js +32 -0
- package/src/maps/world-kernels/larrivee.js +43 -0
- package/src/maps/world-kernels/laskowski.js +50 -0
- package/src/maps/world-kernels/littrow.js +19 -0
- package/src/maps/world-kernels/loximuthal.js +38 -0
- package/src/maps/world-kernels/math.ts +98 -0
- package/src/maps/world-kernels/miller.ts +15 -0
- package/src/maps/world-kernels/modifiedStereographic.js +112 -0
- package/src/maps/world-kernels/mollweide.js +30 -0
- package/src/maps/world-kernels/mtFlatPolarParabolic.js +23 -0
- package/src/maps/world-kernels/mtFlatPolarQuartic.js +29 -0
- package/src/maps/world-kernels/mtFlatPolarSinusoidal.js +25 -0
- package/src/maps/world-kernels/naturalEarth2.js +46 -0
- package/src/maps/world-kernels/nellHammer.js +20 -0
- package/src/maps/world-kernels/newton.js +77 -0
- package/src/maps/world-kernels/nicolosi.js +60 -0
- package/src/maps/world-kernels/patterson.js +45 -0
- package/src/maps/world-kernels/polyconic.js +36 -0
- package/src/maps/world-kernels/rectangularPolyconic.js +41 -0
- package/src/maps/world-kernels/robinson.js +88 -0
- package/src/maps/world-kernels/satellite.js +44 -0
- package/src/maps/world-kernels/sinuMollweide.js +24 -0
- package/src/maps/world-kernels/sinusoidal.ts +15 -0
- package/src/maps/world-kernels/times.js +19 -0
- package/src/maps/world-kernels/twoPointEquidistant.js +41 -0
- package/src/maps/world-kernels/vanDerGrinten.js +48 -0
- package/src/maps/world-kernels/vanDerGrinten2.js +32 -0
- package/src/maps/world-kernels/vanDerGrinten3.js +24 -0
- package/src/maps/world-kernels/vanDerGrinten4.js +70 -0
- package/src/maps/world-kernels/wagner.js +61 -0
- package/src/maps/world-kernels/wagner4.js +13 -0
- package/src/maps/world-kernels/wagner6.ts +15 -0
- package/src/maps/world-kernels/wiechel.js +25 -0
- package/src/maps/world-kernels/winkel3.js +45 -0
- package/src/maps/world-kernels.ts +249 -0
- package/src/maps/world-map.ts +257 -0
- package/src/maps.ts +168 -0
- package/src/projection/analysis.ts +284 -0
- package/src/projection/bulk.ts +343 -0
- package/src/projection/datums.ts +13 -0
- package/src/projection/deformation.ts +5 -0
- package/src/projection/experimental/authalic-latitude.ts +49 -0
- package/src/projection/experimental/catalogue-kernel.ts +65 -0
- package/src/projection/experimental/common/adjust_lat.ts +11 -0
- package/src/projection/experimental/common/adjust_lon.ts +14 -0
- package/src/projection/experimental/common/asinhy.ts +14 -0
- package/src/projection/experimental/common/asinz.ts +11 -0
- package/src/projection/experimental/common/authlat.ts +9 -0
- package/src/projection/experimental/common/authset.ts +25 -0
- package/src/projection/experimental/common/clens.ts +20 -0
- package/src/projection/experimental/common/clens_cmplx.ts +43 -0
- package/src/projection/experimental/common/constants.ts +15 -0
- package/src/projection/experimental/common/cosh.ts +10 -0
- package/src/projection/experimental/common/e0fn.ts +8 -0
- package/src/projection/experimental/common/e1fn.ts +8 -0
- package/src/projection/experimental/common/e2fn.ts +8 -0
- package/src/projection/experimental/common/e3fn.ts +8 -0
- package/src/projection/experimental/common/fL.ts +10 -0
- package/src/projection/experimental/common/gN.ts +9 -0
- package/src/projection/experimental/common/gatg.ts +20 -0
- package/src/projection/experimental/common/hypot.ts +13 -0
- package/src/projection/experimental/common/imlfn.ts +23 -0
- package/src/projection/experimental/common/invlatiso.ts +20 -0
- package/src/projection/experimental/common/iqsfnz.ts +45 -0
- package/src/projection/experimental/common/latiso.ts +21 -0
- package/src/projection/experimental/common/log1py.ts +11 -0
- package/src/projection/experimental/common/meridian-distance.ts +45 -0
- package/src/projection/experimental/common/mlfn.ts +8 -0
- package/src/projection/experimental/common/msfnz.ts +9 -0
- package/src/projection/experimental/common/phi2z.ts +22 -0
- package/src/projection/experimental/common/pj_enfn.ts +29 -0
- package/src/projection/experimental/common/pj_inv_mlfn.ts +28 -0
- package/src/projection/experimental/common/pj_mlfn.ts +10 -0
- package/src/projection/experimental/common/qsfnz.ts +17 -0
- package/src/projection/experimental/common/sign.ts +8 -0
- package/src/projection/experimental/common/sinh.ts +10 -0
- package/src/projection/experimental/common/srat.ts +8 -0
- package/src/projection/experimental/common/tsfnz.ts +14 -0
- package/src/projection/experimental/common/vincenty.ts +180 -0
- package/src/projection/experimental/core.ts +85 -0
- package/src/projection/experimental/crs/datum-catalog.ts +65 -0
- package/src/projection/experimental/crs/datum-table.ts +1360 -0
- package/src/projection/experimental/crs/ellipsoid-table.ts +230 -0
- package/src/projection/experimental/crs/normalize.ts +318 -0
- package/src/projection/experimental/crs/primemeridian-table.ts +22 -0
- package/src/projection/experimental/crs/projjson.ts +12 -0
- package/src/projection/experimental/crs/resolve.ts +78 -0
- package/src/projection/experimental/crs/spatial-reference.ts +120 -0
- package/src/projection/experimental/crs/structured.ts +580 -0
- package/src/projection/experimental/crs/types.ts +97 -0
- package/src/projection/experimental/crs/wkt.ts +201 -0
- package/src/projection/experimental/crs-descriptor.ts +256 -0
- package/src/projection/experimental/crs-rendering-scale.ts +115 -0
- package/src/projection/experimental/datum.ts +185 -0
- package/src/projection/experimental/deformation-inverse.ts +125 -0
- package/src/projection/experimental/deformation.ts +30 -0
- package/src/projection/experimental/ellipsoidal-gnomonic.ts +83 -0
- package/src/projection/experimental/engine-options.ts +36 -0
- package/src/projection/experimental/entries/projections/aea.ts +5 -0
- package/src/projection/experimental/entries/projections/aeqd.ts +5 -0
- package/src/projection/experimental/entries/projections/bonne.ts +5 -0
- package/src/projection/experimental/entries/projections/cass.ts +5 -0
- package/src/projection/experimental/entries/projections/cea.ts +5 -0
- package/src/projection/experimental/entries/projections/eck6.ts +5 -0
- package/src/projection/experimental/entries/projections/eqc.ts +5 -0
- package/src/projection/experimental/entries/projections/eqdc.ts +5 -0
- package/src/projection/experimental/entries/projections/eqearth.ts +5 -0
- package/src/projection/experimental/entries/projections/equi.ts +5 -0
- package/src/projection/experimental/entries/projections/etmerc.ts +5 -0
- package/src/projection/experimental/entries/projections/geocent.ts +5 -0
- package/src/projection/experimental/entries/projections/geos.ts +5 -0
- package/src/projection/experimental/entries/projections/gnom.ts +5 -0
- package/src/projection/experimental/entries/projections/gstmerc.ts +5 -0
- package/src/projection/experimental/entries/projections/krovak.ts +5 -0
- package/src/projection/experimental/entries/projections/laea.ts +5 -0
- package/src/projection/experimental/entries/projections/lcc.ts +5 -0
- package/src/projection/experimental/entries/projections/merc.ts +5 -0
- package/src/projection/experimental/entries/projections/mill.ts +5 -0
- package/src/projection/experimental/entries/projections/moll.ts +5 -0
- package/src/projection/experimental/entries/projections/nzmg.ts +5 -0
- package/src/projection/experimental/entries/projections/ob_tran.ts +5 -0
- package/src/projection/experimental/entries/projections/omerc.ts +5 -0
- package/src/projection/experimental/entries/projections/ortho.ts +5 -0
- package/src/projection/experimental/entries/projections/poly.ts +5 -0
- package/src/projection/experimental/entries/projections/qsc.ts +5 -0
- package/src/projection/experimental/entries/projections/robin.ts +5 -0
- package/src/projection/experimental/entries/projections/sinu.ts +5 -0
- package/src/projection/experimental/entries/projections/somerc.ts +5 -0
- package/src/projection/experimental/entries/projections/stere.ts +5 -0
- package/src/projection/experimental/entries/projections/sterea.ts +5 -0
- package/src/projection/experimental/entries/projections/tmerc.ts +5 -0
- package/src/projection/experimental/entries/projections/tpers.ts +5 -0
- package/src/projection/experimental/entries/projections/utm.ts +5 -0
- package/src/projection/experimental/entries/projections/vandg.ts +5 -0
- package/src/projection/experimental/exact-helmert.ts +58 -0
- package/src/projection/experimental/flat-projection.ts +80 -0
- package/src/projection/experimental/grids/geotiff.ts +88 -0
- package/src/projection/experimental/grids/grid.ts +141 -0
- package/src/projection/experimental/grids/gtx.ts +31 -0
- package/src/projection/experimental/grids/ntv2.ts +71 -0
- package/src/projection/experimental/grids/scalar-geotiff.ts +231 -0
- package/src/projection/experimental/grids/types.ts +35 -0
- package/src/projection/experimental/grids/velocity-geotiff.ts +82 -0
- package/src/projection/experimental/grids/velocity.ts +58 -0
- package/src/projection/experimental/grids/vertical-geotiff.ts +28 -0
- package/src/projection/experimental/grids/vertical.ts +99 -0
- package/src/projection/experimental/helmert-flat.ts +76 -0
- package/src/projection/experimental/index.ts +59 -0
- package/src/projection/experimental/inverse-spherical-latitude.ts +19 -0
- package/src/projection/experimental/kernel.ts +142 -0
- package/src/projection/experimental/kernels/aea.ts +149 -0
- package/src/projection/experimental/kernels/aeqd.ts +171 -0
- package/src/projection/experimental/kernels/bonne.ts +141 -0
- package/src/projection/experimental/kernels/cass.ts +140 -0
- package/src/projection/experimental/kernels/cea.ts +71 -0
- package/src/projection/experimental/kernels/eck6.ts +36 -0
- package/src/projection/experimental/kernels/eqdc.ts +137 -0
- package/src/projection/experimental/kernels/eqearth.ts +146 -0
- package/src/projection/experimental/kernels/equi.ts +55 -0
- package/src/projection/experimental/kernels/etmerc.ts +190 -0
- package/src/projection/experimental/kernels/gauss.ts +79 -0
- package/src/projection/experimental/kernels/geos.ts +183 -0
- package/src/projection/experimental/kernels/gnom.ts +123 -0
- package/src/projection/experimental/kernels/gstmerc.ts +74 -0
- package/src/projection/experimental/kernels/krovak.ts +166 -0
- package/src/projection/experimental/kernels/laea.ts +320 -0
- package/src/projection/experimental/kernels/lcc.ts +141 -0
- package/src/projection/experimental/kernels/mill.ts +60 -0
- package/src/projection/experimental/kernels/moll.ts +109 -0
- package/src/projection/experimental/kernels/nzmg.ts +249 -0
- package/src/projection/experimental/kernels/omerc.ts +343 -0
- package/src/projection/experimental/kernels/ortho.ts +52 -0
- package/src/projection/experimental/kernels/poly.ts +217 -0
- package/src/projection/experimental/kernels/qsc.ts +359 -0
- package/src/projection/experimental/kernels/robin.ts +189 -0
- package/src/projection/experimental/kernels/sinu.ts +118 -0
- package/src/projection/experimental/kernels/somerc.ts +102 -0
- package/src/projection/experimental/kernels/stere.ts +249 -0
- package/src/projection/experimental/kernels/sterea.ts +82 -0
- package/src/projection/experimental/kernels/tmerc.ts +227 -0
- package/src/projection/experimental/kernels/tpers.ts +187 -0
- package/src/projection/experimental/kernels/vandg.ts +147 -0
- package/src/projection/experimental/kinematic-helmert-flat.ts +85 -0
- package/src/projection/experimental/kinematic-helmert.ts +132 -0
- package/src/projection/experimental/lazy-projection.ts +190 -0
- package/src/projection/experimental/lazy-projections/aea.ts +10 -0
- package/src/projection/experimental/lazy-projections/aeqd.ts +12 -0
- package/src/projection/experimental/lazy-projections/bonne.ts +10 -0
- package/src/projection/experimental/lazy-projections/cass.ts +10 -0
- package/src/projection/experimental/lazy-projections/cea.ts +12 -0
- package/src/projection/experimental/lazy-projections/eck6.ts +10 -0
- package/src/projection/experimental/lazy-projections/eqc.ts +15 -0
- package/src/projection/experimental/lazy-projections/eqdc.ts +11 -0
- package/src/projection/experimental/lazy-projections/eqearth.ts +10 -0
- package/src/projection/experimental/lazy-projections/equi.ts +10 -0
- package/src/projection/experimental/lazy-projections/etmerc.ts +12 -0
- package/src/projection/experimental/lazy-projections/geocent.ts +10 -0
- package/src/projection/experimental/lazy-projections/geos.ts +10 -0
- package/src/projection/experimental/lazy-projections/gnom.ts +10 -0
- package/src/projection/experimental/lazy-projections/gstmerc.ts +13 -0
- package/src/projection/experimental/lazy-projections/index.ts +41 -0
- package/src/projection/experimental/lazy-projections/krovak.ts +18 -0
- package/src/projection/experimental/lazy-projections/laea.ts +12 -0
- package/src/projection/experimental/lazy-projections/lcc.ts +22 -0
- package/src/projection/experimental/lazy-projections/merc.ts +19 -0
- package/src/projection/experimental/lazy-projections/mill.ts +11 -0
- package/src/projection/experimental/lazy-projections/moll.ts +10 -0
- package/src/projection/experimental/lazy-projections/nzmg.ts +11 -0
- package/src/projection/experimental/lazy-projections/ob_tran.ts +25 -0
- package/src/projection/experimental/lazy-projections/omerc.ts +22 -0
- package/src/projection/experimental/lazy-projections/ortho.ts +10 -0
- package/src/projection/experimental/lazy-projections/poly.ts +10 -0
- package/src/projection/experimental/lazy-projections/qsc.ts +16 -0
- package/src/projection/experimental/lazy-projections/robin.ts +10 -0
- package/src/projection/experimental/lazy-projections/sinu.ts +10 -0
- package/src/projection/experimental/lazy-projections/somerc.ts +12 -0
- package/src/projection/experimental/lazy-projections/stere.ts +18 -0
- package/src/projection/experimental/lazy-projections/sterea.ts +20 -0
- package/src/projection/experimental/lazy-projections/tmerc.ts +22 -0
- package/src/projection/experimental/lazy-projections/tpers.ts +11 -0
- package/src/projection/experimental/lazy-projections/utm.ts +12 -0
- package/src/projection/experimental/lazy-projections/vandg.ts +10 -0
- package/src/projection/experimental/mutable-projection.ts +63 -0
- package/src/projection/experimental/numeric-flat.ts +73 -0
- package/src/projection/experimental/parameters.ts +36 -0
- package/src/projection/experimental/projection-descriptor.ts +79 -0
- package/src/projection/experimental/projection-engine.ts +62 -0
- package/src/projection/experimental/projection-pipeline.ts +1047 -0
- package/src/projection/experimental/projection-scratch.ts +26 -0
- package/src/projection/experimental/projections/aea.ts +41 -0
- package/src/projection/experimental/projections/aeqd.ts +27 -0
- package/src/projection/experimental/projections/bonne.ts +38 -0
- package/src/projection/experimental/projections/cass.ts +39 -0
- package/src/projection/experimental/projections/cea.ts +31 -0
- package/src/projection/experimental/projections/eck6.ts +30 -0
- package/src/projection/experimental/projections/eqdc.ts +40 -0
- package/src/projection/experimental/projections/eqearth.ts +72 -0
- package/src/projection/experimental/projections/equi.ts +31 -0
- package/src/projection/experimental/projections/equidistant-cylindrical.ts +80 -0
- package/src/projection/experimental/projections/geocentric.ts +42 -0
- package/src/projection/experimental/projections/geos.ts +46 -0
- package/src/projection/experimental/projections/gnom.ts +51 -0
- package/src/projection/experimental/projections/gstmerc.ts +43 -0
- package/src/projection/experimental/projections/krovak.ts +61 -0
- package/src/projection/experimental/projections/laea.ts +39 -0
- package/src/projection/experimental/projections/lcc.ts +67 -0
- package/src/projection/experimental/projections/mercator.ts +151 -0
- package/src/projection/experimental/projections/mill.ts +30 -0
- package/src/projection/experimental/projections/moll.ts +30 -0
- package/src/projection/experimental/projections/nzmg.ts +47 -0
- package/src/projection/experimental/projections/ob-tran.ts +279 -0
- package/src/projection/experimental/projections/omerc.ts +86 -0
- package/src/projection/experimental/projections/ortho.ts +34 -0
- package/src/projection/experimental/projections/poly.ts +40 -0
- package/src/projection/experimental/projections/qsc.ts +84 -0
- package/src/projection/experimental/projections/robin.ts +30 -0
- package/src/projection/experimental/projections/sinu.ts +30 -0
- package/src/projection/experimental/projections/somerc.ts +39 -0
- package/src/projection/experimental/projections/stere.ts +59 -0
- package/src/projection/experimental/projections/sterea.ts +61 -0
- package/src/projection/experimental/projections/tpers.ts +59 -0
- package/src/projection/experimental/projections/transverse-mercator.ts +89 -0
- package/src/projection/experimental/projections/utm.ts +50 -0
- package/src/projection/experimental/projections/vandg.ts +30 -0
- package/src/projection/experimental/rendering-profile/angular-rendering-profile.ts +117 -0
- package/src/projection/experimental/rendering-profile/azimuthal-rendering-bounds.ts +251 -0
- package/src/projection/experimental/rendering-profile/geographic-bounds.ts +190 -0
- package/src/projection/experimental/rendering-profile/geographic-rendering-profile.ts +29 -0
- package/src/projection/experimental/rendering-profile/geostationary-rendering-profile.ts +128 -0
- package/src/projection/experimental/rendering-profile/identity-rendering-profile.ts +15 -0
- package/src/projection/experimental/rendering-profile/rectangular-rendering-profile.ts +133 -0
- package/src/projection/experimental/rendering-profile/regional-rendering-bounds.ts +252 -0
- package/src/projection/experimental/rendering-profile/rendering-bounds.ts +163 -0
- package/src/projection/experimental/rendering-profile/rendering-profile.ts +96 -0
- package/src/projection/experimental/rendering-profile/spherical-rendering-domain.ts +175 -0
- package/src/projection/experimental/scalar-output.ts +77 -0
- package/src/projection/experimental/spatial-deformation.ts +115 -0
- package/src/projection/experimental/transform-description.ts +82 -0
- package/src/projection/experimental/types.ts +122 -0
- package/src/projection/experimental/typescript-projection.ts +629 -0
- package/src/projection/experimental/vertical-datum.ts +39 -0
- package/src/projection/grids/velocity.ts +5 -0
- package/src/projection/index.ts +6 -0
- package/src/projection/lib/projection.ts +161 -0
- package/src/projection/numerical-derivative.ts +50 -0
- package/src/projection/operations.ts +479 -0
- package/src/projection/pipeline.ts +4 -0
- package/src/projection/temporal.ts +133 -0
- package/src/projection/transform-analysis.ts +169 -0
- package/src/projection/transform-description.ts +69 -0
- package/src/projection/types.ts +94 -0
- package/src/projection/web-mercator.ts +148 -0
- package/src/rhumb-path.ts +128 -0
- package/src/rhumb-polygon.ts +24 -0
- package/src/subdivide-geodesic-polyline.ts +74 -0
- package/src/subdivide-globe-mesh.ts +75 -0
- package/src/subdivide-rhumb-polyline.ts +108 -0
- package/src/tasks/definitions.ts +89 -0
- package/src/tasks/index.ts +73 -0
- package/src/tasks/map-worker.ts +6 -0
- package/src/tasks/operations.ts +77 -0
- package/src/tasks/projection-worker.ts +6 -0
- package/src/tasks/terrain-coverage-worker.ts +6 -0
- package/src/tasks/terrain-coverage.ts +25 -0
- package/src/tasks/terrain-residency-worker.ts +6 -0
- package/src/tasks/terrain-residency.ts +185 -0
- package/src/terrain/adaptive-mesh-types.ts +25 -0
- package/src/terrain/bounds-regions.ts +106 -0
- package/src/terrain/bounds-update.ts +19 -0
- package/src/terrain/bounds.ts +189 -0
- package/src/terrain/box-index.ts +47 -0
- package/src/terrain/breakline-mesh.ts +164 -0
- package/src/terrain/breakline-preprocess.ts +106 -0
- package/src/terrain/cdt2d.d.ts +10 -0
- package/src/terrain/continuous-mesh-error.ts +321 -0
- package/src/terrain/contour-boundary-diagnostics.ts +90 -0
- package/src/terrain/contour-mixed-weld.ts +254 -0
- package/src/terrain/contour-path-data.ts +106 -0
- package/src/terrain/contour-paths.ts +107 -0
- package/src/terrain/contour-simplify.ts +197 -0
- package/src/terrain/contour-tile-paths.ts +20 -0
- package/src/terrain/contour-tile-weld.ts +182 -0
- package/src/terrain/contour-topology.ts +263 -0
- package/src/terrain/contours.ts +180 -0
- package/src/terrain/delatin-regions.ts +25 -0
- package/src/terrain/delatin.ts +82 -0
- package/src/terrain/derivatives.ts +100 -0
- package/src/terrain/dirty-regions.ts +61 -0
- package/src/terrain/filtered-pyramid.ts +95 -0
- package/src/terrain/geographic-lod-seams.ts +109 -0
- package/src/terrain/geographic-neighbor.ts +58 -0
- package/src/terrain/geographic-poles.ts +52 -0
- package/src/terrain/geographic-seam.ts +73 -0
- package/src/terrain/geographic.ts +131 -0
- package/src/terrain/geometry.ts +128 -0
- package/src/terrain/gradient-pyramid-regions.ts +140 -0
- package/src/terrain/gradient-pyramid-update.ts +25 -0
- package/src/terrain/gradient-pyramid.ts +129 -0
- package/src/terrain/height-field.ts +401 -0
- package/src/terrain/index.ts +244 -0
- package/src/terrain/isobands-mixed.ts +49 -0
- package/src/terrain/isobands.ts +348 -0
- package/src/terrain/lod-coordinate.ts +57 -0
- package/src/terrain/lod-morph-evaluate.ts +36 -0
- package/src/terrain/lod-morph.ts +138 -0
- package/src/terrain/lod-select.ts +95 -0
- package/src/terrain/lod-stitch.ts +88 -0
- package/src/terrain/martini-regions.ts +38 -0
- package/src/terrain/martini.ts +77 -0
- package/src/terrain/mesh-coverage.ts +215 -0
- package/src/terrain/mesh-data.ts +111 -0
- package/src/terrain/mesh-edges.ts +27 -0
- package/src/terrain/mesh-error.ts +171 -0
- package/src/terrain/mesh-regions-data.ts +121 -0
- package/src/terrain/mesh-regions.ts +18 -0
- package/src/terrain/mesh-skirts.ts +166 -0
- package/src/terrain/mesh-stitch.ts +345 -0
- package/src/terrain/mesh-update.ts +15 -0
- package/src/terrain/mesh.ts +49 -0
- package/src/terrain/mixed-gradient-update.ts +40 -0
- package/src/terrain/mixed-halo-update.ts +144 -0
- package/src/terrain/mixed-surface.ts +232 -0
- package/src/terrain/mixed-vertex-halos.ts +224 -0
- package/src/terrain/packed.ts +172 -0
- package/src/terrain/persistent-bounds.ts +95 -0
- package/src/terrain/persistent-gradients.ts +117 -0
- package/src/terrain/persistent-hierarchy-data.ts +196 -0
- package/src/terrain/profile-horizon.ts +86 -0
- package/src/terrain/profile-measure.ts +146 -0
- package/src/terrain/profile-slope.ts +32 -0
- package/src/terrain/profile-viewshed.ts +57 -0
- package/src/terrain/profile-visibility.ts +81 -0
- package/src/terrain/profile.ts +111 -0
- package/src/terrain/sample-triangle-height.ts +50 -0
- package/src/terrain/slope-aspect.ts +74 -0
- package/src/terrain/surface.ts +511 -0
- package/src/terrain/sweep-capsule.ts +148 -0
- package/src/terrain/sweep-cylinder.ts +64 -0
- package/src/terrain/sweep-plane.ts +61 -0
- package/src/terrain/sweep-polytope.ts +229 -0
- package/src/terrain/sweep-sphere.ts +100 -0
- package/src/terrain/tile-update-data.ts +32 -0
- package/src/terrain/tiled.ts +501 -0
- package/src/terrain/types.ts +73 -0
- package/src/terrain/valid-domain-mesh.ts +221 -0
- package/src/terrain/valid-domain-regions.ts +41 -0
- package/src/terrain/vendor/DELATIN-LICENSE.txt +17 -0
- package/src/terrain/vendor/delatin.js +491 -0
- package/src/terrain/vertex-halo-invalidation.ts +57 -0
- package/src/terrain/vertex-halo-update.ts +91 -0
- package/src/terrain/vertex-halos.ts +101 -0
- package/src/terrain/vertex-tiles.ts +160 -0
- package/src/tile-matrix.ts +589 -0
- package/src/tiles.ts +32 -0
- package/src/triaxial/integrate.ts +82 -0
- package/src/triaxial.ts +195 -0
- package/src/turf/expressions.ts +97 -0
- package/src/turf.ts +1290 -0
- package/src/type-utils.ts +31 -3
- package/src/vendor/geographiclib-geodesic/runtime.js +2339 -0
- package/src/web-mercator.ts +5 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// math.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import Martini from '@mapbox/martini';
|
|
5
|
+
import { assembleTerrainMesh } from "./mesh-data.js";
|
|
6
|
+
import { measureTerrainMeshError } from "./mesh-error.js";
|
|
7
|
+
/** Optional MARTINI RTIN adapter, with independent nodal-error measurement and explicit edge constraints.
|
|
8
|
+
* Requires a complete square (2^k+1) grid. Output is plain data; no renderer or query index is built.
|
|
9
|
+
*/
|
|
10
|
+
export function createMartiniTerrainMesh(field, options) {
|
|
11
|
+
const size = field.width, cells = size - 1;
|
|
12
|
+
const maxSamples = options.maxSamples ?? 1100000, maxTriangles = options.maxTriangles ?? 2 * cells * cells;
|
|
13
|
+
if (!Number.isFinite(options.maxError) || options.maxError < 0)
|
|
14
|
+
throw new Error('Adaptive terrain maxError must be finite and nonnegative');
|
|
15
|
+
for (const value of [maxSamples, maxTriangles])
|
|
16
|
+
if (!Number.isSafeInteger(value) || value < 0)
|
|
17
|
+
throw new Error('Invalid adaptive terrain capacity');
|
|
18
|
+
if (size !== field.height || cells < 1 || cells > 32768 || (cells & (cells - 1)) !== 0)
|
|
19
|
+
throw new Error('Adaptive terrain requires a square (2^k+1) grid within uint16 coordinates');
|
|
20
|
+
if (size * size > maxSamples)
|
|
21
|
+
throw new Error('Adaptive terrain sample capacity exceeded');
|
|
22
|
+
if (field.validCount !== size * size)
|
|
23
|
+
throw new Error('Adaptive terrain requires complete source data; use a regular mesh for holes');
|
|
24
|
+
const edges = options.fullEdges ?? [];
|
|
25
|
+
for (const edge of edges)
|
|
26
|
+
if (!['minColumn', 'maxColumn', 'minRow', 'maxRow'].includes(edge))
|
|
27
|
+
throw new Error('Unknown adaptive terrain edge');
|
|
28
|
+
const { heights } = field.copyData();
|
|
29
|
+
const tile = new Martini(size).createTile(heights);
|
|
30
|
+
// Pinned MARTINI 0.2.0 exposes its error grid. Infinity forces selected edge midpoints;
|
|
31
|
+
// update propagates these requirements to ancestors, retaining conforming RTIN splits.
|
|
32
|
+
for (const edge of edges)
|
|
33
|
+
for (let i = 0; i < size; i++) {
|
|
34
|
+
const column = edge === 'minColumn' ? 0 : edge === 'maxColumn' ? cells : i;
|
|
35
|
+
const row = edge === 'minRow' ? 0 : edge === 'maxRow' ? cells : i;
|
|
36
|
+
tile.errors[row * size + column] = Infinity;
|
|
37
|
+
}
|
|
38
|
+
if (edges.length)
|
|
39
|
+
tile.update();
|
|
40
|
+
let threshold = options.maxError;
|
|
41
|
+
// MARTINI's f32 midpoint-error heuristic is not treated as an error certificate.
|
|
42
|
+
// Refine failed candidates; the final pass forces the full RTIN triangulation.
|
|
43
|
+
for (let pass = 0; pass <= 8; pass++) {
|
|
44
|
+
const { vertices, triangles } = tile.getMesh(pass === 8 ? -1 : threshold);
|
|
45
|
+
if (triangles.length / 3 > maxTriangles)
|
|
46
|
+
throw new Error('Adaptive terrain triangle capacity exceeded');
|
|
47
|
+
// MARTINI emits clockwise grid triangles. Our shared assembler takes CCW grid indices.
|
|
48
|
+
const indices = Uint32Array.from(triangles);
|
|
49
|
+
for (let i = 0; i < indices.length; i += 3)
|
|
50
|
+
[indices[i + 1], indices[i + 2]] = [indices[i + 2], indices[i + 1]];
|
|
51
|
+
const mesh = assembleTerrainMesh(field, Uint32Array.from(vertices), indices, options);
|
|
52
|
+
const error = measureTerrainMeshError(field, mesh, { maxSampleTests: options.maxSampleTests });
|
|
53
|
+
if (!error.uncoveredSampleCount && error.maxSampleError <= options.maxError)
|
|
54
|
+
return {
|
|
55
|
+
...mesh,
|
|
56
|
+
error,
|
|
57
|
+
requestedMaxError: options.maxError,
|
|
58
|
+
refinementPasses: pass + 1,
|
|
59
|
+
tessellator: 'martini'
|
|
60
|
+
};
|
|
61
|
+
threshold /= 2;
|
|
62
|
+
}
|
|
63
|
+
throw new Error('Adaptive terrain could not meet the requested sample error');
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=martini.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"martini.js","sourceRoot":"","sources":["../../src/terrain/martini.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,OAAO,OAAO,MAAM,iBAAiB,CAAC;AAEtC,OAAO,EAAC,mBAAmB,EAAuB,uBAAoB;AACtE,OAAO,EAAC,uBAAuB,EAAC,wBAAqB;AASrD;;GAEG;AACH,MAAM,UAAU,wBAAwB,CACtC,KAAkB,EAClB,OAAkC;IAElC,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,EACtB,KAAK,GAAG,IAAI,GAAG,CAAC,CAAC;IACnB,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,OAAS,EAChD,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,CAAC,GAAG,KAAK,GAAG,KAAK,CAAC;IAC3D,IAAI,CAAC,MAAM,CA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,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACtE,MAAM,IAAI,GAAG,mBAAmB,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QACtF,MAAM,KAAK,GAAG,uBAAuB,CAAC,KAAK,EAAE,IAAI,EAAE,EAAC,cAAc,EAAE,OAAO,CAAC,cAAc,EAAC,CAAC,CAAC;QAC7F,IAAI,CAAC,KAAK,CAAC,oBAAoB,IAAI,KAAK,CAAC,cAAc,IAAI,OAAO,CAAC,QAAQ;YACzE,OAAO;gBACL,GAAG,IAAI;gBACP,KAAK;gBACL,iBAAiB,EAAE,OAAO,CAAC,QAAQ;gBACnC,gBAAgB,EAAE,IAAI,GAAG,CAAC;gBAC1B,WAAW,EAAE,SAAS;aACvB,CAAC;QACJ,SAAS,IAAI,CAAC,CAAC;IACjB,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;AAChF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { HeightField } from "./height-field.js";
|
|
2
|
+
type Point = readonly [number, number];
|
|
3
|
+
/** Horizontal triangle geometry in the field's fractional sample coordinates. */
|
|
4
|
+
export type TerrainCoverageMesh = {
|
|
5
|
+
gridCoordinates: ArrayLike<number>;
|
|
6
|
+
indices: ArrayLike<number>;
|
|
7
|
+
};
|
|
8
|
+
export type TerrainMeshCoverage = {
|
|
9
|
+
status: 'certified' | 'mismatch' | 'budget-exhausted';
|
|
10
|
+
/** Nonzero boundary intervals of mesh multiplicity minus reference multiplicity. */
|
|
11
|
+
unmatchedSegments: number;
|
|
12
|
+
witness: {
|
|
13
|
+
start: Point;
|
|
14
|
+
end: Point;
|
|
15
|
+
multiplicityJump: number;
|
|
16
|
+
} | null;
|
|
17
|
+
/** Candidate triangles plus reference half cells examined. */
|
|
18
|
+
trianglesVisited: number;
|
|
19
|
+
/** Edges remaining after cancellation of equal endpoints. */
|
|
20
|
+
residualEdges: number;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Certify that mesh multiplicity is one on the valid raster domain and zero outside,
|
|
24
|
+
* almost everywhere in XY. Coincident and subdivided edges are allowed.
|
|
25
|
+
* The reference is either independently valid triangles or four-corner-valid cells.
|
|
26
|
+
* An explicit reference mesh must tile the intended domain once.
|
|
27
|
+
* The result says nothing about heights or zero-area boundary features.
|
|
28
|
+
* Exact arithmetic applies to the supplied binary64 coordinates, without snapping.
|
|
29
|
+
*/
|
|
30
|
+
export declare function certifyTerrainMeshCoverage(field: HeightField, mesh: TerrainCoverageMesh, options?: {
|
|
31
|
+
reference?: 'triangle' | 'bilinear' | TerrainCoverageMesh;
|
|
32
|
+
maxTriangles?: number;
|
|
33
|
+
}): TerrainMeshCoverage;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=mesh-coverage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh-coverage.d.ts","sourceRoot":"","sources":["../../src/terrain/mesh-coverage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,WAAW,EAAC,0BAAuB;AAEhD,KAAK,KAAK,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAGvC,iFAAiF;AACjF,MAAM,MAAM,mBAAmB,GAAG;IAChC,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACnC,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,WAAW,GAAG,UAAU,GAAG,kBAAkB,CAAC;IACtD,oFAAoF;IACpF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE;QAAC,KAAK,EAAE,KAAK,CAAC;QAAC,GAAG,EAAE,KAAK,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI,CAAC;IACrE,8DAA8D;IAC9D,gBAAgB,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AASF;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,WAAW,EAClB,IAAI,EAAE,mBAAmB,EACzB,OAAO,GAAE;IAAC,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,mBAAmB,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAM,GAC/F,mBAAmB,CAyKrB"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
// math.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
function gcd(a, b) {
|
|
5
|
+
if (a < 0n)
|
|
6
|
+
a = -a;
|
|
7
|
+
if (b < 0n)
|
|
8
|
+
b = -b;
|
|
9
|
+
while (b !== 0n)
|
|
10
|
+
[a, b] = [b, a % b];
|
|
11
|
+
return a;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Certify that mesh multiplicity is one on the valid raster domain and zero outside,
|
|
15
|
+
* almost everywhere in XY. Coincident and subdivided edges are allowed.
|
|
16
|
+
* The reference is either independently valid triangles or four-corner-valid cells.
|
|
17
|
+
* An explicit reference mesh must tile the intended domain once.
|
|
18
|
+
* The result says nothing about heights or zero-area boundary features.
|
|
19
|
+
* Exact arithmetic applies to the supplied binary64 coordinates, without snapping.
|
|
20
|
+
*/
|
|
21
|
+
export function certifyTerrainMeshCoverage(field, mesh, options = {}) {
|
|
22
|
+
const { reference = 'triangle', maxTriangles = 2000000 } = options;
|
|
23
|
+
const referenceMesh = typeof reference === 'object' ? reference : null;
|
|
24
|
+
const validShape = (input) => input.indices.length % 3 === 0 && input.gridCoordinates.length % 2 === 0;
|
|
25
|
+
if (!Number.isSafeInteger(maxTriangles) ||
|
|
26
|
+
maxTriangles < 1 ||
|
|
27
|
+
(!referenceMesh && reference !== 'triangle' && reference !== 'bilinear') ||
|
|
28
|
+
!validShape(mesh) ||
|
|
29
|
+
(referenceMesh && !validShape(referenceMesh)))
|
|
30
|
+
throw new Error('Invalid terrain coverage input');
|
|
31
|
+
const trianglesVisited = mesh.indices.length / 3 +
|
|
32
|
+
(referenceMesh ? referenceMesh.indices.length / 3 : 2 * (field.width - 1) * (field.height - 1));
|
|
33
|
+
if (trianglesVisited > maxTriangles) {
|
|
34
|
+
return {
|
|
35
|
+
status: 'budget-exhausted',
|
|
36
|
+
unmatchedSegments: 0,
|
|
37
|
+
witness: null,
|
|
38
|
+
trianglesVisited: 0,
|
|
39
|
+
residualEdges: 0
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
// Every finite binary64 value is an integer multiple of 2^-1074.
|
|
43
|
+
const bits = new DataView(new ArrayBuffer(8));
|
|
44
|
+
function exact(value) {
|
|
45
|
+
bits.setFloat64(0, value);
|
|
46
|
+
const raw = bits.getBigUint64(0);
|
|
47
|
+
const exponent = Number((raw >> 52n) & 2047n);
|
|
48
|
+
const fraction = raw & ((1n << 52n) - 1n);
|
|
49
|
+
const integer = exponent === 0 ? fraction : ((1n << 52n) | fraction) << BigInt(exponent - 1);
|
|
50
|
+
return value < 0 ? -integer : integer;
|
|
51
|
+
}
|
|
52
|
+
const vertices = [];
|
|
53
|
+
const vertexIds = new Map();
|
|
54
|
+
const edges = new Map();
|
|
55
|
+
function vertex(x, y) {
|
|
56
|
+
if (!Number.isFinite(x) || !Number.isFinite(y))
|
|
57
|
+
throw new Error('Nonfinite coverage coordinate');
|
|
58
|
+
const key = `${x},${y}`;
|
|
59
|
+
const previous = vertexIds.get(key);
|
|
60
|
+
if (previous !== undefined)
|
|
61
|
+
return previous;
|
|
62
|
+
const id = vertices.length;
|
|
63
|
+
vertices.push([x, y]);
|
|
64
|
+
vertexIds.set(key, id);
|
|
65
|
+
return id;
|
|
66
|
+
}
|
|
67
|
+
function edge(a, b, weight) {
|
|
68
|
+
if (a > b) {
|
|
69
|
+
[a, b] = [b, a];
|
|
70
|
+
weight = -weight;
|
|
71
|
+
}
|
|
72
|
+
// Pack two 26-bit vertex IDs into an exactly representable number on ordinary workloads.
|
|
73
|
+
const key = b < 2 ** 26 ? a * 2 ** 26 + b : `${a},${b}`;
|
|
74
|
+
const sum = (edges.get(key)?.weight ?? 0) + weight;
|
|
75
|
+
if (sum === 0)
|
|
76
|
+
edges.delete(key);
|
|
77
|
+
else
|
|
78
|
+
edges.set(key, { a, b, weight: sum });
|
|
79
|
+
}
|
|
80
|
+
function triangle(a, b, c, weight) {
|
|
81
|
+
edge(a, b, weight);
|
|
82
|
+
edge(b, c, weight);
|
|
83
|
+
edge(c, a, weight);
|
|
84
|
+
}
|
|
85
|
+
function addMesh({ indices, gridCoordinates }, weight) {
|
|
86
|
+
for (let i = 0; i < indices.length; i += 3) {
|
|
87
|
+
const ids = [indices[i], indices[i + 1], indices[i + 2]].map(id => {
|
|
88
|
+
if (!Number.isSafeInteger(id) || id < 0 || id >= gridCoordinates.length / 2)
|
|
89
|
+
throw new Error('Invalid coverage vertex index');
|
|
90
|
+
return vertex(gridCoordinates[id * 2], gridCoordinates[id * 2 + 1]);
|
|
91
|
+
});
|
|
92
|
+
const [a, b, c] = ids.map(id => vertices[id]);
|
|
93
|
+
const left = (b[0] - a[0]) * (c[1] - a[1]);
|
|
94
|
+
const right = (b[1] - a[1]) * (c[0] - a[0]);
|
|
95
|
+
const det = left - right;
|
|
96
|
+
const limit = 8 * Number.EPSILON * (Math.abs(left) + Math.abs(right)) + 8 * Number.MIN_VALUE;
|
|
97
|
+
let sign = Math.sign(det);
|
|
98
|
+
if (!Number.isFinite(det) || Math.abs(det) <= limit) {
|
|
99
|
+
const [ax, ay] = a.map(exact), [bx, by] = b.map(exact), [cx, cy] = c.map(exact);
|
|
100
|
+
const determinant = (bx - ax) * (cy - ay) - (by - ay) * (cx - ax);
|
|
101
|
+
sign = determinant > 0n ? 1 : determinant < 0n ? -1 : 0;
|
|
102
|
+
}
|
|
103
|
+
if (!sign)
|
|
104
|
+
throw new Error('Degenerate coverage triangle');
|
|
105
|
+
triangle(ids[0], ids[1], ids[2], weight * sign);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
addMesh(mesh, 1);
|
|
109
|
+
if (referenceMesh)
|
|
110
|
+
addMesh(referenceMesh, -1);
|
|
111
|
+
else
|
|
112
|
+
for (let y = 0; y < field.height - 1; y++) {
|
|
113
|
+
for (let x = 0; x < field.width - 1; x++) {
|
|
114
|
+
const valid = [
|
|
115
|
+
field.getHeight(x, y),
|
|
116
|
+
field.getHeight(x + 1, y),
|
|
117
|
+
field.getHeight(x, y + 1),
|
|
118
|
+
field.getHeight(x + 1, y + 1)
|
|
119
|
+
].map(z => z !== undefined);
|
|
120
|
+
if (reference === 'bilinear' && !valid.every(Boolean))
|
|
121
|
+
continue;
|
|
122
|
+
const corners = [
|
|
123
|
+
[x, y],
|
|
124
|
+
[x + 1, y],
|
|
125
|
+
[x, y + 1],
|
|
126
|
+
[x + 1, y + 1]
|
|
127
|
+
];
|
|
128
|
+
const faces = field.diagonal === '00-11'
|
|
129
|
+
? [
|
|
130
|
+
[0, 1, 3],
|
|
131
|
+
[0, 3, 2]
|
|
132
|
+
]
|
|
133
|
+
: [
|
|
134
|
+
[0, 1, 2],
|
|
135
|
+
[1, 3, 2]
|
|
136
|
+
];
|
|
137
|
+
for (const [a, b, c] of faces) {
|
|
138
|
+
if (!valid[a] || !valid[b] || !valid[c])
|
|
139
|
+
continue;
|
|
140
|
+
triangle(vertex(...corners[a]), vertex(...corners[b]), vertex(...corners[c]), -1);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
// A compactly supported triangle multiplicity is uniquely determined by its oriented
|
|
145
|
+
// boundary. Group collinear residual edges to cancel differently subdivided boundaries.
|
|
146
|
+
const lines = new Map();
|
|
147
|
+
for (const { a, b, weight } of edges.values()) {
|
|
148
|
+
const p = vertices[a], q = vertices[b];
|
|
149
|
+
const [x, y] = p.map(exact), [u, v] = q.map(exact);
|
|
150
|
+
const divisor = gcd(u - x, v - y);
|
|
151
|
+
let dx = (u - x) / divisor, dy = (v - y) / divisor;
|
|
152
|
+
if (dx < 0n || (dx === 0n && dy < 0n))
|
|
153
|
+
[dx, dy] = [-dx, -dy];
|
|
154
|
+
const key = `${dx},${dy},${dx * y - dy * x}`;
|
|
155
|
+
let events = lines.get(key);
|
|
156
|
+
if (!events) {
|
|
157
|
+
events = new Map();
|
|
158
|
+
lines.set(key, events);
|
|
159
|
+
}
|
|
160
|
+
const axis = dx === 0n ? 1 : 0;
|
|
161
|
+
const delta = weight;
|
|
162
|
+
events.set(p[axis], { point: p, delta: (events.get(p[axis])?.delta ?? 0) + delta });
|
|
163
|
+
events.set(q[axis], { point: q, delta: (events.get(q[axis])?.delta ?? 0) - delta });
|
|
164
|
+
}
|
|
165
|
+
let unmatchedSegments = 0;
|
|
166
|
+
let witness = null;
|
|
167
|
+
for (const events of lines.values()) {
|
|
168
|
+
const sorted = [...events].sort(([a], [b]) => a - b);
|
|
169
|
+
let jump = 0;
|
|
170
|
+
for (let i = 0; i + 1 < sorted.length; i++) {
|
|
171
|
+
jump += sorted[i][1].delta;
|
|
172
|
+
if (!jump)
|
|
173
|
+
continue;
|
|
174
|
+
unmatchedSegments++;
|
|
175
|
+
witness ?? (witness = { start: sorted[i][1].point, end: sorted[i + 1][1].point, multiplicityJump: jump });
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
return {
|
|
179
|
+
status: unmatchedSegments ? 'mismatch' : 'certified',
|
|
180
|
+
unmatchedSegments,
|
|
181
|
+
witness,
|
|
182
|
+
trianglesVisited,
|
|
183
|
+
residualEdges: edges.size
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
//# sourceMappingURL=mesh-coverage.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E,iBAAiB,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW;QACpD,iBAAiB;QACjB,OAAO;QACP,gBAAgB;QAChB,aAAa,EAAE,KAAK,CAAC,IAAI;KAC1B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { HeightField } from "./height-field.js";
|
|
2
|
+
/** Detached grid-derived mesh data. No renderer, query index, normals or physics state. */
|
|
3
|
+
export type TerrainGridMesh = {
|
|
4
|
+
positions: Float64Array;
|
|
5
|
+
indices: Uint32Array;
|
|
6
|
+
/** Packed integer [column, row] for each vertex. */
|
|
7
|
+
gridCoordinates: Uint32Array;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
origin: readonly [number, number, number];
|
|
11
|
+
heightReference: string;
|
|
12
|
+
};
|
|
13
|
+
export type TerrainMeshOptions = {
|
|
14
|
+
origin?: readonly [number, number, number];
|
|
15
|
+
};
|
|
16
|
+
export type TerrainMeshEdge = 'minColumn' | 'maxColumn' | 'minRow' | 'maxRow';
|
|
17
|
+
/** Internal assembly shared by regular and optional adaptive builders. */
|
|
18
|
+
export declare function assembleTerrainMesh(field: HeightField, gridCoordinates: Uint32Array, indices: Uint32Array, options: TerrainMeshOptions): TerrainGridMesh;
|
|
19
|
+
/** Validate detached caller-owned data before inspection. Does not certify manifoldness. */
|
|
20
|
+
export declare function validateTerrainGridMesh(mesh: TerrainGridMesh): void;
|
|
21
|
+
//# sourceMappingURL=mesh-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh-data.d.ts","sourceRoot":"","sources":["../../src/terrain/mesh-data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,WAAW,EAAC,0BAAuB;AAEhD,2FAA2F;AAC3F,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,YAAY,CAAC;IACxB,OAAO,EAAE,WAAW,CAAC;IACrB,oDAAoD;IACpD,eAAe,EAAE,WAAW,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAAC,MAAM,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;CAAC,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE9E,0EAA0E;AAC1E,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,WAAW,EAClB,eAAe,EAAE,WAAW,EAC5B,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,kBAAkB,GAC1B,eAAe,CAkDjB;AAED,4FAA4F;AAC5F,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI,CA+BnE"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// math.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
/** Internal assembly shared by regular and optional adaptive builders. */
|
|
5
|
+
export function assembleTerrainMesh(field, gridCoordinates, indices, options) {
|
|
6
|
+
const origin = options.origin ?? [field.origin[0], field.origin[1], 0];
|
|
7
|
+
if (origin.length !== 3 ||
|
|
8
|
+
!Number.isFinite(origin[0]) ||
|
|
9
|
+
!Number.isFinite(origin[1]) ||
|
|
10
|
+
!Number.isFinite(origin[2]))
|
|
11
|
+
throw new Error('Terrain mesh origin must be finite XYZ');
|
|
12
|
+
const positions = new Float64Array((gridCoordinates.length / 2) * 3);
|
|
13
|
+
for (let i = 0; i < gridCoordinates.length / 2; i++) {
|
|
14
|
+
const column = gridCoordinates[2 * i], row = gridCoordinates[2 * i + 1];
|
|
15
|
+
const shift = field.registration === 'cell' ? 0.5 : 0;
|
|
16
|
+
positions[3 * i] =
|
|
17
|
+
field.origin[0] -
|
|
18
|
+
origin[0] +
|
|
19
|
+
(column + shift) * field.columnStep[0] +
|
|
20
|
+
(row + shift) * field.rowStep[0];
|
|
21
|
+
positions[3 * i + 1] =
|
|
22
|
+
field.origin[1] -
|
|
23
|
+
origin[1] +
|
|
24
|
+
(column + shift) * field.columnStep[1] +
|
|
25
|
+
(row + shift) * field.rowStep[1];
|
|
26
|
+
const height = field.getHeight(column, row);
|
|
27
|
+
positions[3 * i + 2] = height === undefined ? 0 : height - origin[2];
|
|
28
|
+
}
|
|
29
|
+
if (!positions.every(Number.isFinite))
|
|
30
|
+
throw new Error('Terrain mesh coordinate overflow');
|
|
31
|
+
const reverse = field.columnStep[0] * field.rowStep[1] - field.columnStep[1] * field.rowStep[0] < 0;
|
|
32
|
+
for (let i = 0; i < indices.length; i += 3) {
|
|
33
|
+
if (reverse)
|
|
34
|
+
[indices[i + 1], indices[i + 2]] = [indices[i + 2], indices[i + 1]];
|
|
35
|
+
const a = indices[i] * 3, b = indices[i + 1] * 3, c = indices[i + 2] * 3;
|
|
36
|
+
const area = (positions[b] - positions[a]) * (positions[c + 1] - positions[a + 1]) -
|
|
37
|
+
(positions[b + 1] - positions[a + 1]) * (positions[c] - positions[a]);
|
|
38
|
+
if (!Number.isFinite(area) || area <= 0)
|
|
39
|
+
throw new Error('Terrain mesh triangles degenerate or overflow; use a local origin');
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
positions,
|
|
43
|
+
indices,
|
|
44
|
+
gridCoordinates,
|
|
45
|
+
width: field.width,
|
|
46
|
+
height: field.height,
|
|
47
|
+
origin: Object.freeze([...origin]),
|
|
48
|
+
heightReference: field.heightReference
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/** Validate detached caller-owned data before inspection. Does not certify manifoldness. */
|
|
52
|
+
export function validateTerrainGridMesh(mesh) {
|
|
53
|
+
if (!Number.isSafeInteger(mesh.width) ||
|
|
54
|
+
!Number.isSafeInteger(mesh.height) ||
|
|
55
|
+
mesh.width < 2 ||
|
|
56
|
+
mesh.height < 2 ||
|
|
57
|
+
mesh.width * mesh.height > 0xffffffff)
|
|
58
|
+
throw new Error('Invalid terrain mesh grid dimensions');
|
|
59
|
+
if (!(mesh.positions instanceof Float64Array) ||
|
|
60
|
+
mesh.positions.length % 3 ||
|
|
61
|
+
!mesh.positions.every(Number.isFinite) ||
|
|
62
|
+
!(mesh.indices instanceof Uint32Array) ||
|
|
63
|
+
mesh.indices.length % 3 ||
|
|
64
|
+
!(mesh.gridCoordinates instanceof Uint32Array) ||
|
|
65
|
+
mesh.gridCoordinates.length !== (mesh.positions.length / 3) * 2)
|
|
66
|
+
throw new Error('Invalid terrain mesh buffers');
|
|
67
|
+
if (mesh.origin.length !== 3 ||
|
|
68
|
+
!Number.isFinite(mesh.origin[0]) ||
|
|
69
|
+
!Number.isFinite(mesh.origin[1]) ||
|
|
70
|
+
!Number.isFinite(mesh.origin[2]))
|
|
71
|
+
throw new Error('Invalid terrain mesh origin');
|
|
72
|
+
for (let i = 0; i < mesh.gridCoordinates.length; i += 2)
|
|
73
|
+
if (mesh.gridCoordinates[i] >= mesh.width || mesh.gridCoordinates[i + 1] >= mesh.height)
|
|
74
|
+
throw new Error('Terrain mesh grid coordinate out of bounds');
|
|
75
|
+
for (const i of mesh.indices)
|
|
76
|
+
if (i >= mesh.positions.length / 3)
|
|
77
|
+
throw new Error('Terrain mesh vertex index out of bounds');
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=mesh-data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh-data.js","sourceRoot":"","sources":["../../src/terrain/mesh-data.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAkB5D,0EAA0E;AAC1E,MAAM,UAAU,mBAAmB,CACjC,KAAkB,EAClB,eAA4B,EAC5B,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I,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;AACnG,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type TerrainGridMesh, type TerrainMeshEdge } from "./mesh-data.js";
|
|
2
|
+
export type { TerrainMeshEdge } from "./mesh-data.js";
|
|
3
|
+
/** Referenced vertices on a grid side, sorted by ascending coordinate along that side.
|
|
4
|
+
* A grid side is not necessarily geographic north/south/east/west. No boundary-loop inference.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getTerrainMeshEdge(mesh: TerrainGridMesh, edge: TerrainMeshEdge): Uint32Array;
|
|
7
|
+
//# sourceMappingURL=mesh-edges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh-edges.d.ts","sourceRoot":"","sources":["../../src/terrain/mesh-edges.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0B,KAAK,eAAe,EAAE,KAAK,eAAe,EAAC,uBAAoB;AAChG,YAAY,EAAC,eAAe,EAAC,uBAAoB;AAEjD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,eAAe,GAAG,WAAW,CAgB5F"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// math.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { validateTerrainGridMesh } from "./mesh-data.js";
|
|
5
|
+
/** Referenced vertices on a grid side, sorted by ascending coordinate along that side.
|
|
6
|
+
* A grid side is not necessarily geographic north/south/east/west. No boundary-loop inference.
|
|
7
|
+
*/
|
|
8
|
+
export function getTerrainMeshEdge(mesh, edge) {
|
|
9
|
+
validateTerrainGridMesh(mesh);
|
|
10
|
+
if (!['minColumn', 'maxColumn', 'minRow', 'maxRow'].includes(edge))
|
|
11
|
+
throw new Error('Unknown terrain mesh edge');
|
|
12
|
+
const column = edge === 'minColumn' || edge === 'maxColumn';
|
|
13
|
+
const axis = column ? 0 : 1;
|
|
14
|
+
const value = edge.startsWith('min') ? 0 : (column ? mesh.width : mesh.height) - 1;
|
|
15
|
+
const vertices = new Set();
|
|
16
|
+
for (const index of mesh.indices)
|
|
17
|
+
if (mesh.gridCoordinates[2 * index + axis] === value)
|
|
18
|
+
vertices.add(index);
|
|
19
|
+
return Uint32Array.from([...vertices].sort((a, b) => mesh.gridCoordinates[2 * a + 1 - axis] - mesh.gridCoordinates[2 * b + 1 - axis] || a - b));
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=mesh-edges.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh-edges.js","sourceRoot":"","sources":["../../src/terrain/mesh-edges.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,OAAO,EAAC,uBAAuB,EAA6C,uBAAoB;AAGhG;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAqB,EAAE,IAAqB;IAC7E,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;QAChE,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC/C,MAAM,MAAM,GAAG,IAAI,KAAK,WAAW,IAAI,IAAI,KAAK,WAAW,CAAC;IAC5D,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACnF,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAU,CAAC;IACnC,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,OAAO;QAC9B,IAAI,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,KAAK,KAAK;YAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC5E,OAAO,WAAW,CAAC,IAAI,CACrB,CAAC,GAAG,QAAQ,CAAC,CAAC,IAAI,CAChB,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACP,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAC3F,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { HeightField } from "./height-field.js";
|
|
2
|
+
import { type TerrainGridMesh } from "./mesh-data.js";
|
|
3
|
+
export type TerrainMeshError = {
|
|
4
|
+
maxSampleError: number;
|
|
5
|
+
rmsSampleError: number;
|
|
6
|
+
coveredSampleCount: number;
|
|
7
|
+
uncoveredSampleCount: number;
|
|
8
|
+
sampleTests: number;
|
|
9
|
+
};
|
|
10
|
+
/** Measure vertical error at valid source-grid nodes. This is not a continuous-surface certificate.
|
|
11
|
+
* Overlapping triangles contribute the worst error per node. Uncovered samples remain explicit.
|
|
12
|
+
*/
|
|
13
|
+
export declare function measureTerrainMeshError(field: HeightField, mesh: TerrainGridMesh, options?: {
|
|
14
|
+
maxSampleTests?: number;
|
|
15
|
+
}): TerrainMeshError;
|
|
16
|
+
//# sourceMappingURL=mesh-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh-error.d.ts","sourceRoot":"","sources":["../../src/terrain/mesh-error.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,WAAW,EAAC,0BAAuB;AAChD,OAAO,EAA0B,KAAK,eAAe,EAAC,uBAAoB;AAE1E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,WAAW,EAClB,IAAI,EAAE,eAAe,EACrB,OAAO,GAAE;IAAC,cAAc,CAAC,EAAE,MAAM,CAAA;CAAM,GACtC,gBAAgB,CAoJlB"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// math.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { validateTerrainGridMesh } from "./mesh-data.js";
|
|
5
|
+
/** Measure vertical error at valid source-grid nodes. This is not a continuous-surface certificate.
|
|
6
|
+
* Overlapping triangles contribute the worst error per node. Uncovered samples remain explicit.
|
|
7
|
+
*/
|
|
8
|
+
export function measureTerrainMeshError(field, mesh, options = {}) {
|
|
9
|
+
validateTerrainGridMesh(mesh);
|
|
10
|
+
if (mesh.width !== field.width ||
|
|
11
|
+
mesh.height !== field.height ||
|
|
12
|
+
mesh.heightReference !== field.heightReference)
|
|
13
|
+
throw new Error('Terrain mesh and field metadata differ');
|
|
14
|
+
const limit = options.maxSampleTests ?? 10000000;
|
|
15
|
+
if (!Number.isSafeInteger(limit) || limit < 0)
|
|
16
|
+
throw new Error('Invalid terrain mesh sample-test limit');
|
|
17
|
+
// Verify that grid coordinates describe the actual XY geometry, not a stale/forged index grid.
|
|
18
|
+
const shift = field.registration === 'cell' ? 0.5 : 0;
|
|
19
|
+
for (let i = 0; i < mesh.positions.length / 3; i++) {
|
|
20
|
+
const x = mesh.gridCoordinates[i * 2] + shift, y = mesh.gridCoordinates[i * 2 + 1] + shift;
|
|
21
|
+
for (let axis = 0; axis < 2; axis++) {
|
|
22
|
+
const expected = field.origin[axis] -
|
|
23
|
+
mesh.origin[axis] +
|
|
24
|
+
x * field.columnStep[axis] +
|
|
25
|
+
y * field.rowStep[axis];
|
|
26
|
+
// Equivalent affine constructions (parent grid versus region offset) may
|
|
27
|
+
// differ by a few ulps. Admit only arithmetic roundoff, capped far below a cell.
|
|
28
|
+
const tolerance = Math.min(16 *
|
|
29
|
+
Number.EPSILON *
|
|
30
|
+
(Math.abs(field.origin[axis] - mesh.origin[axis]) +
|
|
31
|
+
Math.abs(x * field.columnStep[axis]) +
|
|
32
|
+
Math.abs(y * field.rowStep[axis])), 1e-9 * Math.max(Math.abs(field.columnStep[axis]), Math.abs(field.rowStep[axis])));
|
|
33
|
+
if (!Number.isFinite(expected) ||
|
|
34
|
+
Math.abs(mesh.positions[i * 3 + axis] - expected) > tolerance)
|
|
35
|
+
throw new Error('Terrain mesh XY does not match the source grid frame');
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const baseX = field.origin[0] - mesh.origin[0], baseY = field.origin[1] - mesh.origin[1];
|
|
39
|
+
const [columnX, columnY] = field.columnStep, [rowX, rowY] = field.rowStep;
|
|
40
|
+
const frameArea = Math.abs(columnX * rowY - columnY * rowX);
|
|
41
|
+
// Bound coordinate construction roundoff in grid units. Below 1/8 of a cell,
|
|
42
|
+
// expanding each integer bounding box by one includes all possibly shifted nodes.
|
|
43
|
+
// Reject distant origins / ill-conditioned frames rather than certify aliased XY.
|
|
44
|
+
const roundX = 16 *
|
|
45
|
+
Number.EPSILON *
|
|
46
|
+
(Math.abs(baseX) + (field.width + 1) * Math.abs(columnX) + (field.height + 1) * Math.abs(rowX));
|
|
47
|
+
const roundY = 16 *
|
|
48
|
+
Number.EPSILON *
|
|
49
|
+
(Math.abs(baseY) + (field.width + 1) * Math.abs(columnY) + (field.height + 1) * Math.abs(rowY));
|
|
50
|
+
const gridRoundoff = Math.max((Math.abs(rowY) * roundX + Math.abs(rowX) * roundY) / frameArea, (Math.abs(columnY) * roundX + Math.abs(columnX) * roundY) / frameArea);
|
|
51
|
+
if (!Number.isFinite(gridRoundoff) || gridRoundoff >= 0.125)
|
|
52
|
+
throw new Error('Terrain mesh XY precision is insufficient; use a local origin and a well-conditioned frame');
|
|
53
|
+
const errors = new Float64Array(field.width * field.height);
|
|
54
|
+
const covered = new Uint8Array(errors.length);
|
|
55
|
+
let sampleTests = 0, coveredSampleCount = 0, maxSampleError = 0;
|
|
56
|
+
for (let t = 0; t < mesh.indices.length; t += 3) {
|
|
57
|
+
const a = mesh.indices[t], b = mesh.indices[t + 1], c = mesh.indices[t + 2];
|
|
58
|
+
const ax = mesh.gridCoordinates[a * 2], ay = mesh.gridCoordinates[a * 2 + 1];
|
|
59
|
+
const bx = mesh.gridCoordinates[b * 2], by = mesh.gridCoordinates[b * 2 + 1];
|
|
60
|
+
const cx = mesh.gridCoordinates[c * 2], cy = mesh.gridCoordinates[c * 2 + 1];
|
|
61
|
+
const determinant = (bx - ax) * (cy - ay) - (by - ay) * (cx - ax);
|
|
62
|
+
if (!Number.isFinite(determinant) || determinant === 0)
|
|
63
|
+
throw new Error('Degenerate terrain mesh grid triangle');
|
|
64
|
+
const px = mesh.positions[a * 3], py = mesh.positions[a * 3 + 1];
|
|
65
|
+
const ux = mesh.positions[b * 3] - px, uy = mesh.positions[b * 3 + 1] - py;
|
|
66
|
+
const vx = mesh.positions[c * 3] - px, vy = mesh.positions[c * 3 + 1] - py;
|
|
67
|
+
const xyArea = ux * vy - uy * vx;
|
|
68
|
+
if (!Number.isFinite(xyArea) || xyArea === 0)
|
|
69
|
+
throw new Error('Degenerate terrain mesh XY triangle');
|
|
70
|
+
for (let row = Math.max(0, Math.min(ay, by, cy) - 1); row <= Math.min(field.height - 1, Math.max(ay, by, cy) + 1); row++)
|
|
71
|
+
for (let column = Math.max(0, Math.min(ax, bx, cx) - 1); column <= Math.min(field.width - 1, Math.max(ax, bx, cx) + 1); column++) {
|
|
72
|
+
if (sampleTests++ === limit)
|
|
73
|
+
throw new Error('Terrain mesh sample-test budget exceeded');
|
|
74
|
+
const dx = baseX + (column + shift) * columnX + (row + shift) * rowX - px;
|
|
75
|
+
const dy = baseY + (column + shift) * columnY + (row + shift) * rowY - py;
|
|
76
|
+
const sign = Math.sign(xyArea), area = Math.abs(xyArea);
|
|
77
|
+
const nu = (dx * vy - dy * vx) * sign;
|
|
78
|
+
const nv = (ux * dy - uy * dx) * sign;
|
|
79
|
+
const tolerance = 16 *
|
|
80
|
+
Number.EPSILON *
|
|
81
|
+
(Math.abs(dx * vy) + Math.abs(dy * vx) + Math.abs(ux * dy) + Math.abs(uy * dx) + area);
|
|
82
|
+
if (nu < -tolerance || nv < -tolerance || nu + nv > area + tolerance)
|
|
83
|
+
continue;
|
|
84
|
+
const u = nu / area, v = nv / area, w = (area - nu - nv) / area;
|
|
85
|
+
const height = field.getHeight(column, row);
|
|
86
|
+
if (height === undefined)
|
|
87
|
+
continue;
|
|
88
|
+
const predicted = w * mesh.positions[a * 3 + 2] +
|
|
89
|
+
u * mesh.positions[b * 3 + 2] +
|
|
90
|
+
v * mesh.positions[c * 3 + 2];
|
|
91
|
+
// Error-free TwoDiff retains the low part lost when rebasing source Z.
|
|
92
|
+
// Comparing only with the rounded local height would certify that loss as zero.
|
|
93
|
+
const localHeight = height - mesh.origin[2];
|
|
94
|
+
const virtualOrigin = height - localHeight;
|
|
95
|
+
const remainder = height - (localHeight + virtualOrigin) + (virtualOrigin - mesh.origin[2]);
|
|
96
|
+
const error = Math.abs(predicted - localHeight - remainder);
|
|
97
|
+
if (!Number.isFinite(error))
|
|
98
|
+
throw new Error('Terrain mesh error arithmetic overflow');
|
|
99
|
+
const index = row * field.width + column;
|
|
100
|
+
if (!covered[index]) {
|
|
101
|
+
covered[index] = 1;
|
|
102
|
+
coveredSampleCount++;
|
|
103
|
+
}
|
|
104
|
+
errors[index] = Math.max(errors[index], error);
|
|
105
|
+
maxSampleError = Math.max(maxSampleError, error);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
let squares = 0;
|
|
109
|
+
if (maxSampleError)
|
|
110
|
+
for (const error of errors)
|
|
111
|
+
squares += (error / maxSampleError) ** 2;
|
|
112
|
+
return {
|
|
113
|
+
maxSampleError,
|
|
114
|
+
rmsSampleError: coveredSampleCount
|
|
115
|
+
? maxSampleError * Math.sqrt(squares / coveredSampleCount)
|
|
116
|
+
: 0,
|
|
117
|
+
coveredSampleCount,
|
|
118
|
+
uncoveredSampleCount: field.validCount - coveredSampleCount,
|
|
119
|
+
sampleTests
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=mesh-error.js.map
|