@arcgis/core 5.2.0-next.112 → 5.2.0-next.113
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/Ground.d.ts +4 -5
- package/Ground.js +1 -1
- package/arcgisGlobal.d.ts +5 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/01ca17092545d72be7b6.js +1 -0
- package/assets/esri/core/workers/chunks/{f5a988bb850f7a7af143.js → 05b373a663cb5d4d722f.js} +1 -1
- package/assets/esri/core/workers/chunks/{36f8caeb574dcd5c0ed5.js → 0b727d7bf3e36e146725.js} +1 -1
- package/assets/esri/core/workers/chunks/0c65862e3dd810015491.js +1 -0
- package/assets/esri/core/workers/chunks/0e3e58ba8e2d358121a5.js +1 -0
- package/assets/esri/core/workers/chunks/0edebc6c516f0b9dac7b.js +1 -0
- package/assets/esri/core/workers/chunks/1004e77593dfa506cd5d.js +1 -0
- package/assets/esri/core/workers/chunks/184942ea601237c8241a.js +1 -0
- package/assets/esri/core/workers/chunks/20de0ea9fa08a6545978.js +1 -0
- package/assets/esri/core/workers/chunks/214d63813d268afc265d.js +1 -0
- package/assets/esri/core/workers/chunks/22e85819e23202a8ba90.js +1 -0
- package/assets/esri/core/workers/chunks/{6e677505d257e0848075.js → 23f9ab77e4e263f82636.js} +1 -1
- package/assets/esri/core/workers/chunks/28a04887ecaee5445d14.js +1 -0
- package/assets/esri/core/workers/chunks/{2fc5c1504691badc7792.js → 2ac2d0a7623dd060c144.js} +1 -1
- package/assets/esri/core/workers/chunks/2afce71e8b6ae86e0792.js +1 -0
- package/assets/esri/core/workers/chunks/36792b8a85e88044cb49.js +1 -0
- package/assets/esri/core/workers/chunks/36a7e19f43517aa94577.js +1 -0
- package/assets/esri/core/workers/chunks/{6e6cdff4bbe1ff2f44ac.js → 3ab25279aaa30f035038.js} +1 -1
- package/assets/esri/core/workers/chunks/{e6dae16208f6978b59e0.js → 3b499cfc89c8f87cdb20.js} +1 -1
- package/assets/esri/core/workers/chunks/445b0ca1b70730c9a2e6.js +1 -0
- package/assets/esri/core/workers/chunks/{24673aac70d6c949b6fa.js → 4bf2cc4d092601ff2b86.js} +1 -1
- package/assets/esri/core/workers/chunks/{d45483dd0dc2853b18b7.js → 4bfd63f3cf9208eb839b.js} +33 -33
- package/assets/esri/core/workers/chunks/501df20cdd09384f6ee2.js +1 -0
- package/assets/esri/core/workers/chunks/510a190a6f0a60ae38c3.js +1 -0
- package/assets/esri/core/workers/chunks/{89a785f8b61263e2d592.js → 552c92b01a5f02a115c5.js} +1 -1
- package/assets/esri/core/workers/chunks/564fdf0d663b773806cc.js +1 -0
- package/assets/esri/core/workers/chunks/{d9270f4935eb0d044db3.js → 57328c206f1e699ac06f.js} +1 -1
- package/assets/esri/core/workers/chunks/{50951fb13013b11b8a24.js → 58e62c8ce1292f4d3b06.js} +1 -1
- package/assets/esri/core/workers/chunks/5aee7739afb5160d4ace.js +1 -0
- package/assets/esri/core/workers/chunks/5b9925f23d4b10a7087e.js +1 -0
- package/assets/esri/core/workers/chunks/5f79ba5639067f734791.js +1 -0
- package/assets/esri/core/workers/chunks/{b013b70e40dfb6ce013e.js → 60c61f34733063730386.js} +1 -1
- package/assets/esri/core/workers/chunks/62b1f94f4fa978d4da48.js +1 -0
- package/assets/esri/core/workers/chunks/6b264006b96cbf93d8ed.js +1 -0
- package/assets/esri/core/workers/chunks/6b9d29ca568590358478.js +1 -0
- package/assets/esri/core/workers/chunks/{7c5310e0104c22da0261.js → 6c7cb7974969e3167f2b.js} +1 -1
- package/assets/esri/core/workers/chunks/6c82cbcd504c711a7450.js +1 -0
- package/assets/esri/core/workers/chunks/{e98b785e8f4edc8bd3ff.js → 6eceeca33fac8e900d9d.js} +1 -1
- package/assets/esri/core/workers/chunks/7232fc11b23777b6be94.js +1 -0
- package/assets/esri/core/workers/chunks/726ca458b98bb4334431.js +1 -0
- package/assets/esri/core/workers/chunks/785206da3962ba23de16.js +1 -0
- package/assets/esri/core/workers/chunks/{1c70620f40be02f532b5.js → 7b169eabafcc03bfaee6.js} +1 -1
- package/assets/esri/core/workers/chunks/7bbc3d22383388d11345.js +1 -0
- package/assets/esri/core/workers/chunks/{082069f80eee0407b828.js → 7edf57e31ff07af9032b.js} +1 -1
- package/assets/esri/core/workers/chunks/83ed38468e316302b157.js +1 -0
- package/assets/esri/core/workers/chunks/85c876ee9e63d5732937.js +1 -0
- package/assets/esri/core/workers/chunks/8f0ecf4d06ec7b67d4ed.js +1 -0
- package/assets/esri/core/workers/chunks/8f1c5f5e70d4b33d021d.js +1 -0
- package/assets/esri/core/workers/chunks/{a1916bca1af5c65be4b0.js → 90ab3c47138875070a53.js} +1 -1
- package/assets/esri/core/workers/chunks/{10389c87d9c6a43363ce.js → 917dec9c004218c58950.js} +1 -1
- package/assets/esri/core/workers/chunks/91f451b98e0f696043df.js +1 -0
- package/assets/esri/core/workers/chunks/943d0026ca4d49eb3ac2.js +1 -0
- package/assets/esri/core/workers/chunks/982a396bd4fffa62e911.js +1 -0
- package/assets/esri/core/workers/chunks/98a5327fd96d9542b39f.js +1 -0
- package/assets/esri/core/workers/chunks/9b9a60f1e0c48aa701f0.js +1 -0
- package/assets/esri/core/workers/chunks/9d92e6f0beed9a8580fa.js +1 -0
- package/assets/esri/core/workers/chunks/9df379041e8860fe7f01.js +1 -0
- package/assets/esri/core/workers/chunks/{1e8ceb4a4b28625236e3.js → a42505b978d54d36d3b6.js} +1 -1
- package/assets/esri/core/workers/chunks/{bfbe6ff786435fe1e7cf.js → a86a4e550a92f770d6d5.js} +1 -1
- package/assets/esri/core/workers/chunks/{a34eee4c9d4c1c2b8c49.js → ab60f3bc18b5ea504f70.js} +1 -1
- package/assets/esri/core/workers/chunks/{18b9ec6ba7a6c0fa2ac6.js → b1880d9f5eafd50ce84b.js} +1 -1
- package/assets/esri/core/workers/chunks/{777fc163530448eea13e.js → b4222152efaf73b37b53.js} +1 -1
- package/assets/esri/core/workers/chunks/b6ca73c1384f07b30b74.js +1 -0
- package/assets/esri/core/workers/chunks/bb4cbf6b7c35e8c78cc7.js +1 -0
- package/assets/esri/core/workers/chunks/bb831d23422acfb00ae2.js +1 -0
- package/assets/esri/core/workers/chunks/c0855be20ffcd52c7026.js +1 -0
- package/assets/esri/core/workers/chunks/{a0f742fd947104662d37.js → c6277236ec47586dca00.js} +1 -1
- package/assets/esri/core/workers/chunks/{3be33a129d3ae7dc4f06.js → caf38cf4d8542fb11c46.js} +1 -1
- package/assets/esri/core/workers/chunks/{2728eda8178e02fbca47.js → cd0f5cd0fefe7f49e3d8.js} +1 -1
- package/assets/esri/core/workers/chunks/{48a53bfeef11c32dadcc.js → d25fb32a233d2128afbe.js} +1 -1
- package/assets/esri/core/workers/chunks/d629708bf23da24ee523.js +1 -0
- package/assets/esri/core/workers/chunks/db141122060d8d9b38da.js +1 -0
- package/assets/esri/core/workers/chunks/dc1944a7601b518a9c48.js +1 -0
- package/assets/esri/core/workers/chunks/{573ee2e59d26bc75201e.js → dc8670f32bb0b93c1473.js} +1 -1
- package/assets/esri/core/workers/chunks/e1f2b07be33e33117313.js +1 -0
- package/assets/esri/core/workers/chunks/e52f30dfb7c82491a7f2.js +1 -0
- package/assets/esri/core/workers/chunks/e5906b28b981199fd489.js +1 -0
- package/assets/esri/core/workers/chunks/{b3293ee9f221423a6825.js → e611e452f04a9ce64cf8.js} +1 -1
- package/assets/esri/core/workers/chunks/{0f20c458f873564faff2.js → ec4f887153c24ab83f2c.js} +1 -1
- package/assets/esri/core/workers/chunks/{707b4ae689c4329cad3b.js → f40ceb5e03c699605302.js} +1 -1
- package/assets/esri/core/workers/chunks/{547a073c789fdfb78310.js → f42243c62dd0b6993816.js} +1 -1
- package/assets/esri/core/workers/chunks/f91cab9904020cf25d50.js +1 -0
- package/assets/esri/core/workers/chunks/f9b29d2ce1cd31c0fce1.js +1 -0
- package/assets/esri/core/workers/chunks/fdf5ceffec9d5185953d.js +1 -0
- package/assets/esri/views/3d/environment/resources/milkyway-band.ktx2 +0 -0
- package/chunks/DeepSky.glsl.js +1 -1
- package/chunks/FocusArea.glsl.js +1 -1
- package/chunks/GaussianSplatDepth.glsl.js +3 -3
- package/chunks/RibbonLine.glsl.js +15 -13
- package/config.js +1 -1
- package/geometry/Extent.js +1 -1
- package/geometry/operators/affineTransformOperator.d.ts +9 -3
- package/geometry/operators/affineTransformOperator.js +1 -1
- package/geometry/operators/alphaShapeOperator.d.ts +14 -4
- package/geometry/operators/alphaShapeOperator.js +1 -1
- package/geometry/operators/areaOperator.d.ts +11 -3
- package/geometry/operators/areaOperator.js +1 -1
- package/geometry/operators/autoCompleteOperator.d.ts +6 -2
- package/geometry/operators/autoCompleteOperator.js +1 -1
- package/geometry/operators/boundaryOperator.d.ts +9 -3
- package/geometry/operators/boundaryOperator.js +1 -1
- package/geometry/operators/bufferOperator.d.ts +19 -5
- package/geometry/operators/bufferOperator.js +1 -1
- package/geometry/operators/centroidOperator.d.ts +6 -2
- package/geometry/operators/centroidOperator.js +1 -1
- package/geometry/operators/clipOperator.d.ts +9 -3
- package/geometry/operators/clipOperator.js +1 -1
- package/geometry/operators/containsOperator.d.ts +9 -3
- package/geometry/operators/containsOperator.js +1 -1
- package/geometry/operators/convexHullOperator.d.ts +17 -5
- package/geometry/operators/convexHullOperator.js +1 -1
- package/geometry/operators/crossesOperator.d.ts +9 -3
- package/geometry/operators/crossesOperator.js +1 -1
- package/geometry/operators/cutOperator.d.ts +6 -2
- package/geometry/operators/cutOperator.js +1 -1
- package/geometry/operators/densifyOperator.d.ts +14 -4
- package/geometry/operators/densifyOperator.js +1 -1
- package/geometry/operators/differenceOperator.d.ts +9 -3
- package/geometry/operators/differenceOperator.js +1 -1
- package/geometry/operators/disjointOperator.d.ts +9 -3
- package/geometry/operators/disjointOperator.js +1 -1
- package/geometry/operators/distanceOperator.d.ts +11 -3
- package/geometry/operators/distanceOperator.js +1 -1
- package/geometry/operators/equalsOperator.d.ts +9 -3
- package/geometry/operators/equalsOperator.js +1 -1
- package/geometry/operators/extendOperator.d.ts +11 -3
- package/geometry/operators/extendOperator.js +1 -1
- package/geometry/operators/generalizeOperator.d.ts +14 -4
- package/geometry/operators/generalizeOperator.js +1 -1
- package/geometry/operators/geodesicBufferOperator.d.ts +25 -7
- package/geometry/operators/geodesicBufferOperator.js +1 -1
- package/geometry/operators/geodesicProximityOperator.d.ts +28 -8
- package/geometry/operators/geodesicProximityOperator.js +1 -1
- package/geometry/operators/geodeticAreaOperator.d.ts +17 -5
- package/geometry/operators/geodeticAreaOperator.js +1 -1
- package/geometry/operators/geodeticDensifyOperator.d.ts +20 -6
- package/geometry/operators/geodeticDensifyOperator.js +1 -1
- package/geometry/operators/geodeticDistanceOperator.d.ts +17 -5
- package/geometry/operators/geodeticDistanceOperator.js +1 -1
- package/geometry/operators/geodeticLengthOperator.d.ts +17 -5
- package/geometry/operators/geodeticLengthOperator.js +1 -1
- package/geometry/operators/geodeticUtilsOperator.d.ts +17 -5
- package/geometry/operators/geodeticUtilsOperator.js +1 -1
- package/geometry/operators/graphicBufferOperator.d.ts +11 -3
- package/geometry/operators/graphicBufferOperator.js +1 -1
- package/geometry/operators/integrateOperator.d.ts +6 -2
- package/geometry/operators/integrateOperator.js +1 -1
- package/geometry/operators/intersectionOperator.d.ts +12 -4
- package/geometry/operators/intersectionOperator.js +1 -1
- package/geometry/operators/intersectsOperator.d.ts +9 -3
- package/geometry/operators/intersectsOperator.js +1 -1
- package/geometry/operators/isNearOperator.d.ts +11 -3
- package/geometry/operators/isNearOperator.js +1 -1
- package/geometry/operators/json/bufferOperator.js +1 -1
- package/geometry/operators/json/containsOperator.js +1 -1
- package/geometry/operators/json/convexHullOperator.js +1 -1
- package/geometry/operators/json/crossesOperator.js +1 -1
- package/geometry/operators/json/disjointOperator.js +1 -1
- package/geometry/operators/json/generalizeOperator.js +1 -1
- package/geometry/operators/json/geodesicBufferOperator.js +1 -1
- package/geometry/operators/json/graphicBufferOperator.js +1 -1
- package/geometry/operators/json/intersectionOperator.js +1 -1
- package/geometry/operators/json/intersectsOperator.js +1 -1
- package/geometry/operators/json/lengthOperator.js +1 -1
- package/geometry/operators/json/offsetOperator.js +1 -1
- package/geometry/operators/json/overlapsOperator.js +1 -1
- package/geometry/operators/json/projectOperator.js +1 -1
- package/geometry/operators/json/simplifyOperator.js +1 -1
- package/geometry/operators/json/simplifyOperatorOGC.js +1 -1
- package/geometry/operators/json/touchesOperator.js +1 -1
- package/geometry/operators/json/unionOperator.js +1 -1
- package/geometry/operators/json/withinOperator.js +1 -1
- package/geometry/operators/labelPointOperator.d.ts +9 -3
- package/geometry/operators/labelPointOperator.js +1 -1
- package/geometry/operators/lengthOperator.d.ts +11 -3
- package/geometry/operators/lengthOperator.js +1 -1
- package/geometry/operators/linesToPolygonsOperator.d.ts +6 -2
- package/geometry/operators/linesToPolygonsOperator.js +1 -1
- package/geometry/operators/locateBetweenOperator.d.ts +6 -2
- package/geometry/operators/locateBetweenOperator.js +1 -1
- package/geometry/operators/minimumBoundingCircleOperator.d.ts +14 -4
- package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +11 -3
- package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
- package/geometry/operators/offsetOperator.d.ts +14 -4
- package/geometry/operators/offsetOperator.js +1 -1
- package/geometry/operators/overlapsOperator.d.ts +9 -3
- package/geometry/operators/overlapsOperator.js +1 -1
- package/geometry/operators/polygonOverlayOperator.d.ts +11 -3
- package/geometry/operators/polygonOverlayOperator.js +1 -1
- package/geometry/operators/polygonSlicerOperator.d.ts +22 -6
- package/geometry/operators/polygonSlicerOperator.js +1 -1
- package/geometry/operators/projectOperator.d.ts +15 -5
- package/geometry/operators/projectOperator.js +1 -1
- package/geometry/operators/proximityOperator.d.ts +22 -6
- package/geometry/operators/proximityOperator.js +1 -1
- package/geometry/operators/relateOperator.d.ts +12 -4
- package/geometry/operators/relateOperator.js +1 -1
- package/geometry/operators/reshapeOperator.d.ts +6 -2
- package/geometry/operators/reshapeOperator.js +1 -1
- package/geometry/operators/shapePreservingProjectOperator.d.ts +20 -6
- package/geometry/operators/shapePreservingProjectOperator.js +1 -1
- package/geometry/operators/simplifyOGCOperator.d.ts +3 -1
- package/geometry/operators/simplifyOGCOperator.js +1 -1
- package/geometry/operators/simplifyOperator.d.ts +12 -4
- package/geometry/operators/simplifyOperator.js +1 -1
- package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
- package/geometry/operators/support/deprecatedOperator.js +2 -0
- package/geometry/operators/symmetricDifferenceOperator.d.ts +9 -3
- package/geometry/operators/symmetricDifferenceOperator.js +1 -1
- package/geometry/operators/touchesOperator.d.ts +9 -3
- package/geometry/operators/touchesOperator.js +1 -1
- package/geometry/operators/unionOperator.d.ts +9 -3
- package/geometry/operators/unionOperator.js +1 -1
- package/geometry/operators/withinOperator.d.ts +9 -3
- package/geometry/operators/withinOperator.js +1 -1
- package/geometry/support/intersectsBase.js +1 -1
- package/geometry/support/normalizeUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/IntegratedMeshLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
- package/layers/list/BasemapItemCollection.d.ts +40 -14
- package/layers/list/BasemapItemCollection.js +1 -1
- package/layers/list/CatalogItemCollection.d.ts +29 -11
- package/layers/list/CatalogItemCollection.js +1 -1
- package/layers/list/Item.d.ts +66 -122
- package/layers/list/Item.js +1 -1
- package/layers/list/ItemPanel.d.ts +23 -34
- package/layers/list/LayerItemCollection.d.ts +33 -43
- package/layers/list/LayerItemCollection.js +1 -1
- package/layers/list/TableItem.d.ts +42 -53
- package/layers/list/TableItem.js +1 -1
- package/layers/list/TableItemCollection.d.ts +25 -55
- package/layers/list/TableItemCollection.js +1 -1
- package/layers/list/TableItemPanel.d.ts +25 -23
- package/layers/list/support/layerListUtils.js +1 -1
- package/layers/list/types.d.ts +158 -37
- package/layers/support/ElevationQuery.js +1 -1
- package/layers/support/FeatureFilter.d.ts +2 -1
- package/layers/support/FeatureFilter.js +1 -1
- package/package.json +2 -2
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +0 -1
- package/support/revision.js +1 -1
- package/symbols/LineSymbol3DLayer.d.ts +9 -3
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/OverrideHelper.js +1 -1
- package/symbols/cim/Rasterizer.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/dashUtils.js +2 -0
- package/symbols/cim/effects/EffectDashes.js +1 -1
- package/symbols/cim/fromCIMFontStyle.js +2 -0
- package/symbols/cim/richTextUtils.js +1 -1
- package/symbols/cim/utils.js +1 -1
- package/symbols/patterns/LinePattern3D.d.ts +10 -4
- package/symbols/patterns/LinePattern3D.js +1 -1
- package/symbols/patterns/LineTemplatePattern3D.d.ts +48 -0
- package/symbols/patterns/LineTemplatePattern3D.js +2 -0
- package/symbols/patterns/utils.js +1 -1
- package/symbols/support/Symbol3DOutline.js +1 -1
- package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
- package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
- package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
- package/views/2d/engine/webgl/GlyphWorker.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/decorGlyphRect.js +2 -0
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
- package/views/2d/engine/webgl/effects/highlight/MultiHighlightGradient.js +1 -1
- package/views/2d/engine/webgl/hashMosaic.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHighlight.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/GraphicsLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/LayerView2D.js +1 -1
- package/views/2d/layers/MapImageLayerView2D.js +1 -1
- package/views/2d/layers/MapNotesLayerView2D.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
- package/views/2d/layers/features/processor/AggregateStrategy.js +1 -1
- package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
- package/views/2d/layers/features/processor/bins/BinLevelState.js +1 -1
- package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +1 -1
- package/views/2d/layers/features/processor/tracks/TrackLevelState.js +1 -1
- package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
- package/views/2d/layers/features/sources/FeatureSource.js +1 -1
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
- package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
- package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
- package/views/2d/layers/support/FeatureCommandQueue.js +1 -1
- package/views/2d/layers/support/FilterSchema.js +2 -0
- package/views/2d/layers/support/HighlightRegistry.js +2 -0
- package/views/2d/layers/support/annodime/dimensionUtils.js +1 -1
- package/views/2d/layers/support/util.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/ground/GroundNavigation.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureStore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/support/Tiles3DMeshIntersectionHandler.js +1 -1
- package/views/3d/navigation/Navigation3D.d.ts +16 -0
- package/views/3d/navigation/Navigation3D.js +2 -0
- package/views/3d/navigation/modes/DefaultNavigationMode3D.d.ts +4 -0
- package/views/3d/navigation/modes/DefaultNavigationMode3D.js +2 -0
- package/views/3d/navigation/modes/GroundNavigationMode3D.d.ts +4 -0
- package/views/3d/navigation/modes/GroundNavigationMode3D.js +2 -0
- package/views/3d/navigation/modes/NavigationMode3D.d.ts +4 -0
- package/views/3d/navigation/modes/NavigationMode3D.js +2 -0
- package/views/3d/navigation/modes/NavigationMode3DUnion.d.ts +5 -0
- package/views/3d/state/ConstraintsManager.js +1 -1
- package/views/3d/support/QualityProfile.js +1 -1
- package/views/3d/support/hitTest.js +1 -1
- package/views/3d/terrain/ExtentHelper.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/effects/AmbientIllumination.js +2 -0
- package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
- package/views/3d/webgl-engine/effects/glow/BlurEmission.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatDepthRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +12 -8
- package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
- package/views/PopupView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/View.js +1 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/widgets/LayerList/LayerListViewModel.d.ts +1 -0
- package/widgets/LayerList/LayerListViewModel.js +1 -1
- package/widgets/LayerList/ListItem.d.ts +4 -0
- package/widgets/LayerList/ListItemPanel.d.ts +3 -0
- package/widgets/OrientedImageryViewer/types.d.ts +2 -2
- package/widgets/OrientedImageryViewer.d.ts +20 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/support/iconUtils.js +1 -1
- package/assets/esri/core/workers/chunks/03601be8b0763f82e88f.js +0 -1
- package/assets/esri/core/workers/chunks/0bff8d589312be6588fe.js +0 -1
- package/assets/esri/core/workers/chunks/0de90b1ad8118457fd5a.js +0 -1
- package/assets/esri/core/workers/chunks/0e1a067ab243900d0371.js +0 -1
- package/assets/esri/core/workers/chunks/0ee6109e6578395a7900.js +0 -1
- package/assets/esri/core/workers/chunks/0ee7376c29e0fd8f676c.js +0 -1
- package/assets/esri/core/workers/chunks/13551987fbeaae154df8.js +0 -1
- package/assets/esri/core/workers/chunks/186350d720352bd5ff33.js +0 -1
- package/assets/esri/core/workers/chunks/25ecf94d776c3b6db0f3.js +0 -1
- package/assets/esri/core/workers/chunks/262052dfaec3af8a58b9.js +0 -1
- package/assets/esri/core/workers/chunks/2c01477b69c38f691e19.js +0 -1
- package/assets/esri/core/workers/chunks/307297e025eed110095f.js +0 -1
- package/assets/esri/core/workers/chunks/33422dca6f4bcaa0ea74.js +0 -1
- package/assets/esri/core/workers/chunks/33e583166ab3943ecf0e.js +0 -1
- package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +0 -1
- package/assets/esri/core/workers/chunks/3daddcb106a7009c5a70.js +0 -1
- package/assets/esri/core/workers/chunks/3de6e54b6ed0feae1940.js +0 -1
- package/assets/esri/core/workers/chunks/448f068a14f24f2f8a43.js +0 -1
- package/assets/esri/core/workers/chunks/4c088c26d5d546c95c90.js +0 -1
- package/assets/esri/core/workers/chunks/5134241be1f1bf25231a.js +0 -1
- package/assets/esri/core/workers/chunks/56163189fbe63aa11e94.js +0 -1
- package/assets/esri/core/workers/chunks/571cf99c3eab8e517542.js +0 -1
- package/assets/esri/core/workers/chunks/5762746cfb02a4119d82.js +0 -1
- package/assets/esri/core/workers/chunks/5830deda121e4c95d199.js +0 -1
- package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +0 -1
- package/assets/esri/core/workers/chunks/5c8f423812a23c02c1fd.js +0 -1
- package/assets/esri/core/workers/chunks/5eb726317b6602f1e206.js +0 -1
- package/assets/esri/core/workers/chunks/6e2075bd4832ff0db68c.js +0 -1
- package/assets/esri/core/workers/chunks/7608de0d942b4c16b2f6.js +0 -1
- package/assets/esri/core/workers/chunks/7610dd0b46948b7bd840.js +0 -1
- package/assets/esri/core/workers/chunks/7737ab739eba6d81282d.js +0 -1
- package/assets/esri/core/workers/chunks/7be56ac60e580c806a5d.js +0 -1
- package/assets/esri/core/workers/chunks/7d9468e38f3bf006f86e.js +0 -1
- package/assets/esri/core/workers/chunks/7efc51324cfc8e08c756.js +0 -1
- package/assets/esri/core/workers/chunks/84dc2afd89263a311b81.js +0 -1
- package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
- package/assets/esri/core/workers/chunks/ab332bd411d6c7d4190c.js +0 -1
- package/assets/esri/core/workers/chunks/bc9b96a539f28afcb8cb.js +0 -1
- package/assets/esri/core/workers/chunks/be69e2dda75b079362b2.js +0 -1
- package/assets/esri/core/workers/chunks/bf9eba555aebca2c132b.js +0 -1
- package/assets/esri/core/workers/chunks/c18de0f6cbeecee4ce34.js +0 -1
- package/assets/esri/core/workers/chunks/c9df18e9ff7367a004b6.js +0 -1
- package/assets/esri/core/workers/chunks/d33d08cb6856cd2eb35e.js +0 -1
- package/assets/esri/core/workers/chunks/e688e6e816824b53a25e.js +0 -1
- package/assets/esri/core/workers/chunks/ea068c797e3e462f4518.js +0 -1
- package/assets/esri/core/workers/chunks/eaf1d38f09744b7e84f5.js +0 -1
- package/assets/esri/core/workers/chunks/eff99e45d818e58fd443.js +0 -1
- package/assets/esri/core/workers/chunks/f219ba010c480bb75684.js +0 -1
- package/assets/esri/core/workers/chunks/f60d5ce49c173d5381ec.js +0 -1
- package/assets/esri/core/workers/chunks/f72f4413fc7461e11a2a.js +0 -1
- package/assets/esri/core/workers/chunks/f834aa732c3f06525089.js +0 -1
- package/assets/esri/core/workers/chunks/fae14e30fa7d81bf706e.js +0 -1
- package/assets/esri/core/workers/chunks/fb6f1b562ee0983c8c6e.js +0 -1
- package/assets/esri/core/workers/chunks/fc1658eae7b312502fab.js +0 -1
- package/views/2d/engine/webgl/Utils.js +0 -2
- package/views/2d/layers/support/HighlightCounter.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{SliceDraw as e}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{RibbonVertexPosition as t}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js";import{EvaluateSceneLighting as i}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{LineStipple as n,computePixelSize as r}from"../views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js";import{MarkerSizing as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MarkerSizing.glsl.js";import{NormalUtils as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js";import{PiUtils as s}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js";import{positionOutsideClipSpace as l}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PositionOutsideClipSpace.js";import{ColorConversion as d}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{NoPerspectiveWrite as c,NoPerspectiveRead as p}from"../views/3d/webgl-engine/core/shaderLibrary/util/NoPerspective.glsl.js";import{addProjViewLocalOrigin as m,addPixelRatio as v,addCameraPosition as g}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float2BindUniform as f}from"../views/3d/webgl-engine/core/shaderModules/Float2BindUniform.js";import{Float4BindUniform as h}from"../views/3d/webgl-engine/core/shaderModules/Float4BindUniform.js";import{Float4PassUniform as
|
|
2
|
+
import{SliceDraw as e}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{RibbonVertexPosition as t}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js";import{EvaluateSceneLighting as i}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{LineStipple as n,computePixelSize as r}from"../views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js";import{MarkerSizing as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MarkerSizing.glsl.js";import{NormalUtils as a}from"../views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js";import{PiUtils as s}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PiUtils.glsl.js";import{positionOutsideClipSpace as l}from"../views/3d/webgl-engine/core/shaderLibrary/shading/PositionOutsideClipSpace.js";import{ColorConversion as d}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{NoPerspectiveWrite as c,NoPerspectiveRead as p}from"../views/3d/webgl-engine/core/shaderLibrary/util/NoPerspective.glsl.js";import{addProjViewLocalOrigin as m,addPixelRatio as v,addCameraPosition as g}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float2BindUniform as f}from"../views/3d/webgl-engine/core/shaderModules/Float2BindUniform.js";import{Float4BindUniform as h}from"../views/3d/webgl-engine/core/shaderModules/Float4BindUniform.js";import{Float4PassUniform as S}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatBindUniform as u}from"../views/3d/webgl-engine/core/shaderModules/FloatBindUniform.js";import{FloatPassUniform as x}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as D,If as b}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Matrix4BindUniform as L}from"../views/3d/webgl-engine/core/shaderModules/Matrix4BindUniform.js";import{alphaCutoff as w}from"../views/3d/webgl-engine/shaders/alphaCutoff.glsl.js";import{AnimatedLine as y}from"../views/3d/webgl-engine/shaders/AnimatedLine.glsl.js";import{outputColorHighlightOLID as C}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js";import{getTextureBackedBufferModule as P}from"../views/3d/webgl-engine/shaders/RibbonLineTextureBuffer.glsl.js";import{ShaderBuilder as z}from"../views/webgl/ShaderBuilder.js";const F=1;function j(F){const j=new z,{attributes:A,varyings:W,vertex:T,fragment:R}=j,{applyMarkerOffset:I,draped:V,shadingEnabled:E,output:N,capType:O,stippleEnabled:$,falloffEnabled:J,wireframe:U,innerColorEnabled:_,hasAnimation:M,hasScreenSizePerspective:H,worldSized:B,imagePattern:k}=F,G=2===O,X=$&&G,Y=J||X,Z=$||G,q=P(F).createBuilder(j,F);T.inputs.add("position",()=>q.getTextureAttribute("position")),F.hasVVSize?T.inputs.add("sizeFeatureAttribute",()=>q.getTextureAttribute("sizeFeatureAttribute")):T.inputs.add("size",()=>q.getTextureAttribute("size")),F.hasVVOpacity&&T.inputs.add("opacityFeatureAttribute",()=>q.getTextureAttribute("opacityFeatureAttribute")),F.hasVVColor?T.inputs.add("colorFeatureAttribute",()=>q.getTextureAttribute("colorFeatureAttribute")):T.inputs.add("color",()=>q.getTextureAttribute("color")),R.include(s),j.include(t,F),j.include(n,F);const K={animation:F.animation,hasAnimation:F.hasAnimation,timeStampsExpr:q.getTextureAttribute("timeStamps")};j.include(y,K),11===N?(j.varyings.add("objectAndLayerIdColorVarying","vec4"),T.code.add(D`
|
|
3
3
|
vec4 getOlidColor() {
|
|
4
4
|
return ${q.getTextureAttribute("olidColor")};
|
|
5
5
|
}
|
|
@@ -9,7 +9,7 @@ import{SliceDraw as e}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.gls
|
|
|
9
9
|
}
|
|
10
10
|
`),R.code.add(D`void outputObjectAndLayerIdColor() {
|
|
11
11
|
fragColor = objectAndLayerIdColorVarying;
|
|
12
|
-
}`)):(T.code.add(D`void forwardObjectAndLayerIdColor() {}`),R.code.add(D`void outputObjectAndLayerIdColor() {}`));const Q=I&&!V;return Q&&(T.uniforms.add(new x("markerScale",e=>e.markerScale)),
|
|
12
|
+
}`)):(T.code.add(D`void forwardObjectAndLayerIdColor() {}`),R.code.add(D`void outputObjectAndLayerIdColor() {}`));const Q=I&&!V;return Q&&(T.uniforms.add(new x("markerScale",e=>e.markerScale)),j.include(o,{space:2,hasScreenSizePerspective:H,worldSized:B})),m(T,F),V&&(B||$)&&T.uniforms.add(new u("worldToScreenRatio",e=>1/e.screenToPCSRatio)),T.uniforms.add(new L("inverseProjectionMatrix",e=>e.camera.inverseProjectionMatrix),new f("nearFar",e=>e.camera.nearFar),new x("miterLimit",e=>"miter"!==e.join?0:e.miterLimit),new h("viewport",e=>e.camera.fullViewport)),T.constants.add("LARGE_HALF_FLOAT","float",65500),T.constants.add("EPS","float",.001),T.constants.add("NUM_JOIN_SUBDIVISIONS","float",F.numJoinSubdivisions),A.add("textureElementIndex","uint"),A.add("lineParameters","vec2"),W.add("vColor","vec4"),W.add("vpos","vec3",{invariant:!0}),W.add("vLineDistance","float"),W.add("vLineWidth","float"),$||(W.add("vIsInsideJoin","int"),W.add("vStretchFactor","float"),W.add("vJoinCenterLineSDFs","vec2"),W.add("vSubdivisionFactor","float")),$&&W.add("vLineSizeInv","float"),Y&&W.add("vLineDistanceNorm","float"),G&&(W.add("vSegmentSDF","float"),W.add("vReverseSegmentSDF","float")),T.code.add(D`vec3 perpendicular(vec3 v) {
|
|
13
13
|
return vec3(v.y, -v.x, 0.0);
|
|
14
14
|
}
|
|
15
15
|
float nearPlaneInterpolationFactor(float nearPlaneDistance, vec4 start, vec4 end) {
|
|
@@ -88,7 +88,7 @@ next = mix(next, pos, nearPlaneInterpolationFactor(adjustedNearPlaneDistance, ne
|
|
|
88
88
|
bool markersHidden = areWorldMarkersHidden(pos.xyz, other.xyz);
|
|
89
89
|
if (!isJoin && !markersHidden) {
|
|
90
90
|
pos.xyz += normalize(other.xyz - pos.xyz) * getWorldMarkerSize(pos.xyz) * 0.5;
|
|
91
|
-
}`),
|
|
91
|
+
}`),j.include(c),T.code.add(D`
|
|
92
92
|
vec2 computeJoinAndCapDisplacement(
|
|
93
93
|
bool isJoin,
|
|
94
94
|
bool isStartVertex,
|
|
@@ -168,7 +168,7 @@ pos.xyz += normalize(other.xyz - pos.xyz) * getWorldMarkerSize(pos.xyz) * 0.5;
|
|
|
168
168
|
`)}
|
|
169
169
|
|
|
170
170
|
if (isOutside && displacementLen > miterLimit * lineWidth) {
|
|
171
|
-
${b(
|
|
171
|
+
${b(F.roundJoins,D`
|
|
172
172
|
vec3 startDir = perpendicular(leftLen < EPS ? right : left);
|
|
173
173
|
vec3 endDir = perpendicular(rightLen < EPS ? left : right);
|
|
174
174
|
float factor = ${$?D`min(1.0, subdivisionFactor * ((NUM_JOIN_SUBDIVISIONS + 1.0) / NUM_JOIN_SUBDIVISIONS))`:D`subdivisionFactor`};
|
|
@@ -216,12 +216,14 @@ pos.xyz += normalize(other.xyz - pos.xyz) * getWorldMarkerSize(pos.xyz) * 0.5;
|
|
|
216
216
|
${b($&&!H,"float patternLineSize = lineSize;")}
|
|
217
217
|
|
|
218
218
|
${b(B,D`
|
|
219
|
-
lineSize
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
lineWidth = 1.0;
|
|
219
|
+
float lineSizeScreen = lineSize * worldToScreenRatio;
|
|
220
|
+
if (lineSizeScreen < 1.0) {
|
|
221
|
+
coverage = lineSizeScreen;
|
|
222
|
+
lineSizeScreen = 1.0;
|
|
224
223
|
}
|
|
224
|
+
|
|
225
|
+
lineSizeScreen += aaWidth;
|
|
226
|
+
float lineWidth = lineSizeScreen * pixelRatio;
|
|
225
227
|
`,D`
|
|
226
228
|
if (lineSize < 1.0) {
|
|
227
229
|
coverage = lineSize; // convert sub-pixel coverage to alpha
|
|
@@ -362,7 +364,7 @@ float segmentLengthPseudoScreen = segmentLengthRender * discreteWorldToScreenRat
|
|
|
362
364
|
vpos = (inverseProjectionMatrix * pos).xyz;
|
|
363
365
|
gl_Position = pos;
|
|
364
366
|
forwardObjectAndLayerIdColor();
|
|
365
|
-
}`),
|
|
367
|
+
}`),j.fragment.include(e,F),j.include(C,F),R.include(d),R.main.add(D`discardBySlice(vpos);`),j.include(p),R.include(w),$||R.code.add(D`float lineFeatheringFactor(float lineWidth, float lineDistance) {
|
|
366
368
|
float stretchFactor = vIsInsideJoin == 1 ? noPerspectiveRead(vStretchFactor) : 1.0;
|
|
367
369
|
float featherWidth = 2.0;
|
|
368
370
|
float featherStartDistance = max(lineWidth - featherWidth / stretchFactor, 0.0);
|
|
@@ -392,8 +394,8 @@ lineDistanceNorm
|
|
|
392
394
|
float stippleRadius = length(stipplePosition * lineWidth);
|
|
393
395
|
float stippleCapSDF = (stippleRadius - lineWidth) * 0.5;
|
|
394
396
|
float stippleCoverage = clamp(0.5 - stippleCapSDF, 0.0, 1.0);
|
|
395
|
-
float stippleAlpha = step(alphaCutoff, stippleCoverage);`):R.main.add(D`float stippleAlpha = getStippleAlpha(lineWidth);`),11!==N&&R.main.add(D`discardByStippleAlpha(stippleAlpha, alphaCutoff);`),R.uniforms.add(new
|
|
396
|
-
color.a = noPerspectiveRead(color.a);`),_&&R.uniforms.add(new
|
|
397
|
+
float stippleAlpha = step(alphaCutoff, stippleCoverage);`):R.main.add(D`float stippleAlpha = getStippleAlpha(lineWidth);`),11!==N&&R.main.add(D`discardByStippleAlpha(stippleAlpha, alphaCutoff);`),R.uniforms.add(new S("intrinsicColor",e=>e.color)).main.add(D`vec4 color = intrinsicColor * vColor;
|
|
398
|
+
color.a = noPerspectiveRead(color.a);`),_&&R.uniforms.add(new S("innerColor",e=>e.innerColor??e.color),new x("innerWidth",(e,t)=>e.innerWidth*t.camera.pixelRatio)).main.add(D`float distToInner = abs(lineDistance) - innerWidth;
|
|
397
399
|
float innerAA = clamp(0.5 - distToInner, 0.0, 1.0);
|
|
398
400
|
float innerAlpha = innerColor.a + color.a * (1.0 - innerColor.a);
|
|
399
|
-
color = mix(color, vec4(innerColor.rgb, innerAlpha), innerAA);`),R.main.add(D`vec4 finalColor = blendStipple(color, stippleAlpha);`),J&&(R.uniforms.add(new x("falloff",e=>e.falloff)),R.main.add(D`finalColor.a *= pow(max(0.0, 1.0 - abs(lineDistanceNorm)), falloff);`)),$||R.main.add(D`finalColor.a *= lineFeatheringFactor(lineWidth, lineDistance);`),E&&(W.add("vnormal","vec3"),T.include(a,
|
|
401
|
+
color = mix(color, vec4(innerColor.rgb, innerAlpha), innerAA);`),R.main.add(D`vec4 finalColor = blendStipple(color, stippleAlpha);`),J&&(R.uniforms.add(new x("falloff",e=>e.falloff)),R.main.add(D`finalColor.a *= pow(max(0.0, 1.0 - abs(lineDistanceNorm)), falloff);`)),$||R.main.add(D`finalColor.a *= lineFeatheringFactor(lineWidth, lineDistance);`),E&&(W.add("vnormal","vec3"),T.include(a,F),T.main.add("vnormal = getLocalUp(vpos, localOrigin);"),R.include(i,F),g(R,F),R.main.add("\n vec3 viewDirection = normalize(vpos - cameraPosition);\n finalColor = vec4(evaluateSceneLighting(vnormal, finalColor.rgb, 0.0, 0.0, vec3(0.0), viewDirection, vnormal), finalColor.a);")),M&&R.main.add("finalColor = animate(finalColor);")),R.main.add(D`outputColorHighlightOLID(applySlice(finalColor, vpos), finalColor.rgb);`),j}const A=Object.freeze(Object.defineProperty({__proto__:null,build:j,numRoundJoinSubdivisions:F},Symbol.toStringTag,{value:"Module"}));export{A as R,j as b,F as n};
|
package/config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.2.0-next.
|
|
2
|
+
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.2.0-next.113";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
|
package/geometry/Extent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as t}from"tslib";import{replace as i}from"../core/string.js";import{property as e,subclass as s}from"../core/accessorSupport/decorators.js";import n from"./Geometry.js";import m from"./Point.js";import r from"./SpatialReference.js";import{extentContainsPoint as a,extentContainsExtent as h}from"./support/contains.js";import{getFeatureExtentIntersector as o}from"./support/intersectsBase.js";import{equals as x,getInfo as l}from"./support/spatialReferenceUtils.js";import{canProject as p,geographicToWebMercator as c,webMercatorToGeographic as y}from"./support/webMercatorUtils.js";var u;function f(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}function d(t,i,e){return null==i?e:null==e?i:t(i,e)}let z=u=class extends n{constructor(...t){super(...t),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(t,i,e,s,n){return f(t)?{spatialReference:t,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof t?(t.spatialReference=null==t.spatialReference?r.WGS84:t.spatialReference,t):{xmin:t,ymin:i,xmax:e,ymax:s,spatialReference:n??r.WGS84}}static fromPoint(t){return new u({xmin:t.x,ymin:t.y,zmin:t.z,xmax:t.x,ymax:t.y,zmax:t.z,spatialReference:t.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const t=new m({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(t.z=.5*(this.zmin+this.zmax)),this.hasM&&(t.m=.5*(this.mmin+this.mmax)),t}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(t){const i=this.center;return null!=t.z&&this.hasZ?this.offset(t.x-i.x,t.y-i.y,t.z-i.z):this.offset(t.x-i.x,t.y-i.y)}clone(){const t=new u;return t.xmin=this.xmin,t.ymin=this.ymin,t.xmax=this.xmax,t.ymax=this.ymax,t.spatialReference=this.spatialReference,null!=this.zmin&&(t.zmin=this.zmin,t.zmax=this.zmax),null!=this.mmin&&(t.mmin=this.mmin,t.mmax=this.mmax),t}contains(t){if(!t)return!1;const i=this.spatialReference,e=t.spatialReference;return i&&e&&!i.equals(e)&&p(i,e)&&(t=i.isWebMercator?c(t):y(t,!0)),"point"===t.type?a(this,t):"extent"===t.type&&h(this,t)}equals(t){if(this===t)return!0;if(null==t)return!1;const i=this.spatialReference,e=t.spatialReference;return i&&e&&!i.equals(e)&&p(i,e)&&(t=i.isWebMercator?c(t):y(t,!0)),this.xmin===t.xmin&&this.ymin===t.ymin&&this.zmin===t.zmin&&this.mmin===t.mmin&&this.xmax===t.xmax&&this.ymax===t.ymax&&this.zmax===t.zmax&&this.mmax===t.mmax}expand(t){const i=.5*(1-t),e=this.width*i,s=this.height*i;if(this.xmin+=e,this.ymin+=s,this.xmax-=e,this.ymax-=s,this.hasZ){const t=(this.zmax-this.zmin)*i;this.zmin+=t,this.zmax-=t}if(this.hasM){const t=(this.mmax-this.mmin)*i;this.mmin+=t,this.mmax-=t}return this}intersects(t){if(null==t)return!1;"mesh"===t.type&&(t=t.extent);const i=this.spatialReference,e=t.spatialReference;i&&e&&!x(i,e)&&p(i,e)&&(t=i.isWebMercator?c(t):y(t,!0));return o(t.type)(this,t)}normalize(){const t=this._normalize(!1,!0);return Array.isArray(t)?t:[t]}offset(t,i,e){return this.xmin+=t,this.ymin+=i,this.xmax+=t,this.ymax+=i,null!=e&&(this.zmin+=e,this.zmax+=e),this}shiftCentralMeridian(){return this._normalize(!0)}union(t){return this===t||(this.xmin=Math.min(this.xmin,t.xmin),this.ymin=Math.min(this.ymin,t.ymin),this.xmax=Math.max(this.xmax,t.xmax),this.ymax=Math.max(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=d(Math.min,this.zmin,t.zmin),this.zmax=d(Math.max,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=d(Math.min,this.mmin,t.mmin),this.mmax=d(Math.max,this.mmax,t.mmax))),this}intersection(t){return this===t?this:null!=t&&this.intersects(t)?(this.xmin=Math.max(this.xmin,t.xmin),this.ymin=Math.max(this.ymin,t.ymin),this.xmax=Math.min(this.xmax,t.xmax),this.ymax=Math.min(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=d(Math.max,this.zmin,t.zmin),this.zmax=d(Math.min,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=d(Math.max,this.mmin,t.mmin),this.mmax=d(Math.min,this.mmax,t.mmax)),this):null}toJSON(t){return this.write({},t)}_shiftCM(t=l(this.spatialReference)){if(!t||!this.spatialReference)return this;const e=this.spatialReference,s=this._getCM(t);if(s){const n=e.isWebMercator?y(s):s;this.xmin-=s.x,this.xmax-=s.x,e.isWebMercator||(n.x=M(n.x,t).x),this.spatialReference=new r(i((e.isWGS84?t.altTemplate:null)??t.wkTemplate,{Central_Meridian:n.x}))}return this}_getCM(t){let i=null;const[e,s]=t.valid,n=this.xmin,m=this.xmax;return n>=e&&n<=s&&(m>=e&&m<=s)||(i=this.center),i}_normalize(t,i,e){const s=this.spatialReference;if(!s)return this;const n=e??l(s);if(null==n)return this;const m=this._getParts(n).map(t=>t.extent);if(m.length<2)return m[0]||this;if(m.length>2)return t?this._shiftCM(n):this.set({xmin:n.valid[0],xmax:n.valid[1]});if(t)return this._shiftCM(n);if(i)return m;let r=!0,a=!0;return m.forEach(t=>{t.hasZ||(r=!1),t.hasM||(a=!1)}),{rings:m.map(t=>{const i=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(r){const e=(t.zmax-t.zmin)/2;for(let t=0;t<i.length;t++)i[t].push(e)}if(a){const e=(t.mmax-t.mmin)/2;for(let t=0;t<i.length;t++)i[t].push(e)}return i}),hasZ:r,hasM:a,spatialReference:s}}_getParts(t){let i=this.cache._parts;if(!i){i=[];const{ymin:e,ymax:s,spatialReference:n}=this,m=this.width,r=this.xmin,a=this.xmax;let h;t=t||l(n);const[o,x]=t.valid;h=M(this.xmin,t);const p=h.x,c=h.frameId;h=M(this.xmax,t);const y=h.x,f=h.frameId,d=p===y&&m>0;if(m>2*x){const t=new u(r<a?p:y,e,x,s,n),m=new u(o,e,r<a?y:p,s,n),h=new u(0,e,x,s,n),l=new u(o,e,0,s,n),d=[],z=[];t.contains(h)&&d.push(c),t.contains(l)&&z.push(c),m.contains(h)&&d.push(f),m.contains(l)&&z.push(f);for(let i=c+1;i<f;i++)d.push(i),z.push(i);i.push({extent:t,frameIds:[c]},{extent:m,frameIds:[f]},{extent:h,frameIds:d},{extent:l,frameIds:z})}else p>y||d?i.push({extent:new u(p,e,x,s,n),frameIds:[c]},{extent:new u(o,e,y,s,n),frameIds:[f]}):i.push({extent:new u(p,e,y,s,n),frameIds:[c]});this.cache._parts=i}const e=this.hasZ,s=this.hasM;if(e||s){const t={};e&&(t.zmin=this.zmin,t.zmax=this.zmax),s&&(t.mmin=this.mmin,t.mmax=this.mmax);for(let e=0;e<i.length;e++)i[e].extent.set(t)}return i}};function M(t,i){const[e,s]=i.valid,n=2*s;let m,r=0;return t>s?(m=Math.ceil(Math.abs(t-s)/n),t-=m*n,r=m):t<e&&(m=Math.ceil(Math.abs(t-e)/n),t+=m*n,r=-m),{x:t,frameId:r}}t([e({readOnly:!0})],z.prototype,"cache",null),t([e({readOnly:!0})],z.prototype,"center",null),t([e({readOnly:!0})],z.prototype,"extent",null),t([e({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],z.prototype,"hasM",null),t([e({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],z.prototype,"hasZ",null),t([e({readOnly:!0})],z.prototype,"height",null),t([e({type:r,json:{write:!0},value:r.WGS84})],z.prototype,"spatialReference",void 0),t([e({readOnly:!0})],z.prototype,"width",null),t([e({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],z.prototype,"xmin",void 0),t([e({type:Number,json:{write:!0}})],z.prototype,"ymin",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],z.prototype,"mmin",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],z.prototype,"zmin",void 0),t([e({type:Number,json:{write:!0}})],z.prototype,"xmax",void 0),t([e({type:Number,json:{write:!0}})],z.prototype,"ymax",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],z.prototype,"mmax",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],z.prototype,"zmax",void 0),z=u=t([s("esri.geometry.Extent")],z),z.prototype.toJSON.isDefaultToJSON=!0;export{z as default};
|
|
2
|
+
import{__decorate as t}from"tslib";import{replace as i}from"../core/string.js";import{property as e,subclass as s}from"../core/accessorSupport/decorators.js";import n from"./Geometry.js";import m from"./Point.js";import r from"./SpatialReference.js";import{extentContainsPoint as a,extentContainsExtent as h}from"./support/contains.js";import{getFeatureExtentIntersector as o}from"./support/intersectsBase.js";import{equals as x,getInfo as l}from"./support/spatialReferenceUtils.js";import{canProject as p,geographicToWebMercator as c,webMercatorToGeographic as y}from"./support/webMercatorUtils.js";var u;function f(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}function d(t,i,e){return null==i?e:null==e?i:t(i,e)}let z=u=class extends n{constructor(...t){super(...t),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(t,i,e,s,n){return f(t)?{spatialReference:t,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof t?(t.spatialReference=null==t.spatialReference?r.WGS84:t.spatialReference,t):{xmin:t,ymin:i,xmax:e,ymax:s,spatialReference:n??r.WGS84}}static fromPoint(t){return new u({xmin:t.x,ymin:t.y,zmin:t.z,xmax:t.x,ymax:t.y,zmax:t.z,spatialReference:t.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const t=new m({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(t.z=.5*(this.zmin+this.zmax)),this.hasM&&(t.m=.5*(this.mmin+this.mmax)),t}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(t){const i=this.center;return null!=t.z&&this.hasZ?this.offset(t.x-i.x,t.y-i.y,t.z-i.z):this.offset(t.x-i.x,t.y-i.y)}clone(){const t=new u;return t.xmin=this.xmin,t.ymin=this.ymin,t.xmax=this.xmax,t.ymax=this.ymax,t.spatialReference=this.spatialReference,null!=this.zmin&&(t.zmin=this.zmin,t.zmax=this.zmax),null!=this.mmin&&(t.mmin=this.mmin,t.mmax=this.mmax),t}contains(t){if(!t)return!1;const i=this.spatialReference,e=t.spatialReference;return i&&e&&!i.equals(e)&&p(i,e)&&(t=i.isWebMercator?c(t):y(t,!0)),"point"===t.type?a(this,t):"extent"===t.type&&h(this,t)}equals(t){if(this===t)return!0;if(null==t)return!1;const i=this.spatialReference,e=t.spatialReference;return i&&e&&!i.equals(e)&&p(i,e)&&(t=i.isWebMercator?c(t):y(t,!0)),this.xmin===t.xmin&&this.ymin===t.ymin&&this.zmin===t.zmin&&this.mmin===t.mmin&&this.xmax===t.xmax&&this.ymax===t.ymax&&this.zmax===t.zmax&&this.mmax===t.mmax}expand(t){const i=.5*(1-t),e=this.width*i,s=this.height*i;if(this.xmin+=e,this.ymin+=s,this.xmax-=e,this.ymax-=s,this.hasZ){const t=(this.zmax-this.zmin)*i;this.zmin+=t,this.zmax-=t}if(this.hasM){const t=(this.mmax-this.mmin)*i;this.mmin+=t,this.mmax-=t}return this}intersects(t){if(null==t)return!1;"mesh"===t.type&&(t=t.extent);const i=this.spatialReference,e=t.spatialReference;i&&e&&!x(i,e)&&p(i,e)&&(t=i.isWebMercator?c(t):y(t,!0));return o(t.type)(this,t)}normalize(){const t=this._normalize(!1,!0);return Array.isArray(t)?t:[t]}normalizeAsSingleGeometry(t){return this._normalize(!1,!1,t)}offset(t,i,e){return this.xmin+=t,this.ymin+=i,this.xmax+=t,this.ymax+=i,null!=e&&(this.zmin+=e,this.zmax+=e),this}shiftCentralMeridian(){return this._normalize(!0)}union(t){return this===t||(this.xmin=Math.min(this.xmin,t.xmin),this.ymin=Math.min(this.ymin,t.ymin),this.xmax=Math.max(this.xmax,t.xmax),this.ymax=Math.max(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=d(Math.min,this.zmin,t.zmin),this.zmax=d(Math.max,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=d(Math.min,this.mmin,t.mmin),this.mmax=d(Math.max,this.mmax,t.mmax))),this}intersection(t){return this===t?this:null!=t&&this.intersects(t)?(this.xmin=Math.max(this.xmin,t.xmin),this.ymin=Math.max(this.ymin,t.ymin),this.xmax=Math.min(this.xmax,t.xmax),this.ymax=Math.min(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=d(Math.max,this.zmin,t.zmin),this.zmax=d(Math.min,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=d(Math.max,this.mmin,t.mmin),this.mmax=d(Math.min,this.mmax,t.mmax)),this):null}toJSON(t){return this.write({},t)}_shiftCM(t=l(this.spatialReference)){if(!t||!this.spatialReference)return this;const e=this.spatialReference,s=this._getCM(t);if(s){const n=e.isWebMercator?y(s):s;this.xmin-=s.x,this.xmax-=s.x,e.isWebMercator||(n.x=M(n.x,t).x),this.spatialReference=new r(i((e.isWGS84?t.altTemplate:null)??t.wkTemplate,{Central_Meridian:n.x}))}return this}_getCM(t){let i=null;const[e,s]=t.valid,n=this.xmin,m=this.xmax;return n>=e&&n<=s&&(m>=e&&m<=s)||(i=this.center),i}_normalize(t,i,e){const s=this.spatialReference;if(!s)return this;const n=e??l(s);if(null==n)return this;const m=this._getParts(n).map(t=>t.extent);if(m.length<2)return m[0]||this;if(m.length>2)return t?this._shiftCM(n):this.set({xmin:n.valid[0],xmax:n.valid[1]});if(t)return this._shiftCM(n);if(i)return m;let r=!0,a=!0;return m.forEach(t=>{t.hasZ||(r=!1),t.hasM||(a=!1)}),{rings:m.map(t=>{const i=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(r){const e=(t.zmax-t.zmin)/2;for(let t=0;t<i.length;t++)i[t].push(e)}if(a){const e=(t.mmax-t.mmin)/2;for(let t=0;t<i.length;t++)i[t].push(e)}return i}),hasZ:r,hasM:a,spatialReference:s}}_getParts(t){let i=this.cache._parts;if(!i){i=[];const{ymin:e,ymax:s,spatialReference:n}=this,m=this.width,r=this.xmin,a=this.xmax;let h;t=t||l(n);const[o,x]=t.valid;h=M(this.xmin,t);const p=h.x,c=h.frameId;h=M(this.xmax,t);const y=h.x,f=h.frameId,d=p===y&&m>0;if(m>2*x){const t=new u(r<a?p:y,e,x,s,n),m=new u(o,e,r<a?y:p,s,n),h=new u(0,e,x,s,n),l=new u(o,e,0,s,n),d=[],z=[];t.contains(h)&&d.push(c),t.contains(l)&&z.push(c),m.contains(h)&&d.push(f),m.contains(l)&&z.push(f);for(let i=c+1;i<f;i++)d.push(i),z.push(i);i.push({extent:t,frameIds:[c]},{extent:m,frameIds:[f]},{extent:h,frameIds:d},{extent:l,frameIds:z})}else p>y||d?i.push({extent:new u(p,e,x,s,n),frameIds:[c]},{extent:new u(o,e,y,s,n),frameIds:[f]}):i.push({extent:new u(p,e,y,s,n),frameIds:[c]});this.cache._parts=i}const e=this.hasZ,s=this.hasM;if(e||s){const t={};e&&(t.zmin=this.zmin,t.zmax=this.zmax),s&&(t.mmin=this.mmin,t.mmax=this.mmax);for(let e=0;e<i.length;e++)i[e].extent.set(t)}return i}};function M(t,i){const[e,s]=i.valid,n=2*s;let m,r=0;return t>s?(m=Math.ceil(Math.abs(t-s)/n),t-=m*n,r=m):t<e&&(m=Math.ceil(Math.abs(t-e)/n),t+=m*n,r=-m),{x:t,frameId:r}}t([e({readOnly:!0})],z.prototype,"cache",null),t([e({readOnly:!0})],z.prototype,"center",null),t([e({readOnly:!0})],z.prototype,"extent",null),t([e({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],z.prototype,"hasM",null),t([e({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],z.prototype,"hasZ",null),t([e({readOnly:!0})],z.prototype,"height",null),t([e({type:r,json:{write:!0},value:r.WGS84})],z.prototype,"spatialReference",void 0),t([e({readOnly:!0})],z.prototype,"width",null),t([e({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],z.prototype,"xmin",void 0),t([e({type:Number,json:{write:!0}})],z.prototype,"ymin",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],z.prototype,"mmin",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],z.prototype,"zmin",void 0),t([e({type:Number,json:{write:!0}})],z.prototype,"xmax",void 0),t([e({type:Number,json:{write:!0}})],z.prototype,"ymax",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],z.prototype,"mmax",void 0),t([e({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],z.prototype,"zmax",void 0),z=u=t([s("esri.geometry.Extent")],z),z.prototype.toJSON.isDefaultToJSON=!0;export{z as default};
|
|
@@ -18,7 +18,9 @@ export function affineTransformExecute(geometry: GeometryUnion, transformation:
|
|
|
18
18
|
/**
|
|
19
19
|
* Executes an affine transformation on the geometry.
|
|
20
20
|
*
|
|
21
|
-
* @deprecated
|
|
21
|
+
* @deprecated
|
|
22
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
23
|
+
* with [affineTransformExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/affineTransformOperator/#affineTransformExecute).
|
|
22
24
|
* @param geometry - The geometry to be transformed.
|
|
23
25
|
* @param transformation - The transformation to apply to the `geometry`.
|
|
24
26
|
* @returns Returns the transformed geometry.
|
|
@@ -38,7 +40,9 @@ export function affineTransformExecuteMany(geometries: GeometryUnion[], transfor
|
|
|
38
40
|
/**
|
|
39
41
|
* Executes an affine transformation on multiple geometries.
|
|
40
42
|
*
|
|
41
|
-
* @deprecated
|
|
43
|
+
* @deprecated
|
|
44
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
45
|
+
* with [affineTransformExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/affineTransformOperator/#affineTransformExecuteMany).
|
|
42
46
|
* @param geometries - The geometries to be transformed.
|
|
43
47
|
* All the geometries must have the same spatial reference.
|
|
44
48
|
* @param transformation - The transformation to apply to the `geometries`.
|
|
@@ -56,6 +60,8 @@ export const affineTransformSupportsCurves: boolean;
|
|
|
56
60
|
* Indicates if the operator supports input geometries that contain curves.
|
|
57
61
|
* The value will always be `true`.
|
|
58
62
|
*
|
|
59
|
-
* @deprecated
|
|
63
|
+
* @deprecated
|
|
64
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
65
|
+
* with [affineTransformSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/affineTransformOperator/#affineTransformSupportsCurves).
|
|
60
66
|
*/
|
|
61
67
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{isSome as
|
|
2
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as e,execute as o,executeMany as t}from"./gx/operatorAffineTransform.js";import{getSpatialReference as n,toGeometry as a,fromGeometry as f}from"./support/apiConverter.js";import{deprecatedOperator as s}from"./support/deprecatedOperator.js";function p(r,e){const t=n(r);return a(o(f(r),e.transform),t)}function u(r,e){return s("affineTransformOperator","execute","affineTransformExecute"),p(r,e)}function m(e,o){const s=e.map(f),p=n(e);return t(s,o.transform).map(r=>a(r,p)).filter(r)}function i(r,e){return s("affineTransformOperator","executeMany","affineTransformExecuteMany"),m(r,e)}const c=e(),x=Boolean(c);export{p as affineTransformExecute,m as affineTransformExecuteMany,c as affineTransformSupportsCurves,u as execute,i as executeMany,x as supportsCurves};
|
|
@@ -26,7 +26,11 @@ export interface AlphaShapeOptions {
|
|
|
26
26
|
merge?: boolean;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated
|
|
31
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
32
|
+
* with [AlphaShapeOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/alphaShapeOperator/#AlphaShapeOptions).
|
|
33
|
+
*/
|
|
30
34
|
export type Options = AlphaShapeOptions;
|
|
31
35
|
|
|
32
36
|
/**
|
|
@@ -48,7 +52,9 @@ export function alphaShapeExecute(geometry: GeometryUnion, alpha: number): Execu
|
|
|
48
52
|
/**
|
|
49
53
|
* Calculates the alpha shape on the input geometry.
|
|
50
54
|
*
|
|
51
|
-
* @deprecated
|
|
55
|
+
* @deprecated
|
|
56
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
57
|
+
* with [alphaShapeExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/alphaShapeOperator/#alphaShapeExecute).
|
|
52
58
|
* @param geometry - The input geometry.
|
|
53
59
|
* Only geometry vertices are used to compute the alpha shape.
|
|
54
60
|
* @param alpha - Controls the level of detail and concavity of the boundary.
|
|
@@ -80,7 +86,9 @@ export function alphaShapeExecuteMany(geometries: GeometryUnion[], alpha: number
|
|
|
80
86
|
/**
|
|
81
87
|
* Calculates the alpha shape on a set of geometries with the option to aggregate the result.
|
|
82
88
|
*
|
|
83
|
-
* @deprecated
|
|
89
|
+
* @deprecated
|
|
90
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
91
|
+
* with [alphaShapeExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/alphaShapeOperator/#alphaShapeExecuteMany).
|
|
84
92
|
* @param geometries - The input geometries.
|
|
85
93
|
* Only geometry vertices are used to compute the alpha shape.
|
|
86
94
|
* All the geometries must have the same spatial reference.
|
|
@@ -103,6 +111,8 @@ export const alphaShapeSupportsCurves: boolean;
|
|
|
103
111
|
* Indicates if the operator supports input geometries that contain curves.
|
|
104
112
|
* The value will always be `false`.
|
|
105
113
|
*
|
|
106
|
-
* @deprecated
|
|
114
|
+
* @deprecated
|
|
115
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
116
|
+
* with [alphaShapeSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/alphaShapeOperator/#alphaShapeSupportsCurves).
|
|
107
117
|
*/
|
|
108
118
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{supportsCurves as e,execute as a,executeMany as p}from"./gx/operatorAlphaShape.js";import{getSpatialReference as r,toPolygon as t,fromGeometry as o}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";function u(e,p){const n=r(e),u=[0];return{alphaShape:t(a(o(e),p,u),n),calculatedAlpha:u[0]}}function c(e,a){return n("alphaShapeOperator","execute","alphaShapeExecute"),u(e,a)}function s(e,a,n={}){const{merge:u=!1}=n,c=e.map(o),s=r(e);return p(c,a,u).map(e=>t(e,s))}function h(e,a,p={}){return n("alphaShapeOperator","executeMany","alphaShapeExecuteMany"),s(e,a,p)}const l=e(),m=Boolean(l);export{u as alphaShapeExecute,s as alphaShapeExecuteMany,l as alphaShapeSupportsCurves,c as execute,h as executeMany,m as supportsCurves};
|
|
@@ -17,7 +17,11 @@ export interface AreaOptions {
|
|
|
17
17
|
unit?: AreaUnit;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated
|
|
22
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
23
|
+
* with [AreaOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/areaOperator/#AreaOptions).
|
|
24
|
+
*/
|
|
21
25
|
export type Options = AreaOptions;
|
|
22
26
|
|
|
23
27
|
/**
|
|
@@ -35,7 +39,9 @@ export function areaExecute(geometry: GeometryUnion, options?: AreaOptions): num
|
|
|
35
39
|
/**
|
|
36
40
|
* Calculates the planar area of the input geometry.
|
|
37
41
|
*
|
|
38
|
-
* @deprecated
|
|
42
|
+
* @deprecated
|
|
43
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
44
|
+
* with [areaExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/areaOperator/#areaExecute).
|
|
39
45
|
* @param geometry - The geometry to calculate the area from.
|
|
40
46
|
* @param options - Additional options.
|
|
41
47
|
* @returns Returns the planar area of the geometry.
|
|
@@ -57,6 +63,8 @@ export const areaSupportsCurves: boolean;
|
|
|
57
63
|
* Indicates if the operator supports input geometries that contain curves.
|
|
58
64
|
* The value will always be `true`.
|
|
59
65
|
*
|
|
60
|
-
* @deprecated
|
|
66
|
+
* @deprecated
|
|
67
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
68
|
+
* with [areaSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/areaOperator/#areaSupportsCurves).
|
|
61
69
|
*/
|
|
62
70
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{areaUnitFromSpatialReference as r,convertUnit as e,getMetersPerUnitForSR as t}from"../../core/units.js";import{fromGeometry as o,getSpatialReference as a}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";function i(n,i={}){const{unit:u}=i;let c=o(n).calculateArea2D();if(c&&u){const o=a(n);if(o.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const i=r(o);i!==u&&(i?c=e(c,i,u):(c*=t(o)**2,c=e(c,"square-meters",u)))}return c}function u(r,e={}){return n("areaOperator","execute","areaExecute"),i(r,e)}const c=!0,p=Boolean(c);export{i as areaExecute,c as areaSupportsCurves,u as execute,p as supportsCurves};
|
|
@@ -23,7 +23,9 @@ export function autoCompleteExecute(polygons: Polygon[], polylines: Polyline[]):
|
|
|
23
23
|
/**
|
|
24
24
|
* Fills the gaps between polygons using the polylines as additional boundaries.
|
|
25
25
|
*
|
|
26
|
-
* @deprecated
|
|
26
|
+
* @deprecated
|
|
27
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
28
|
+
* with [autoCompleteExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/autoCompleteOperator/#autoCompleteExecute).
|
|
27
29
|
* @param polygons - The polygons to fill.
|
|
28
30
|
* @param polylines - The polylines to use as boundaries.
|
|
29
31
|
* @returns Returns the new polygons that were created in the closed empty areas bounded by some of the edges of `polygons` and `polylines`.
|
|
@@ -45,6 +47,8 @@ export const autoCompleteSupportsCurves: boolean;
|
|
|
45
47
|
* Indicates if the operator supports input geometries that contain curves.
|
|
46
48
|
* The value will always be `true`.
|
|
47
49
|
*
|
|
48
|
-
* @deprecated
|
|
50
|
+
* @deprecated
|
|
51
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
52
|
+
* with [autoCompleteSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/autoCompleteOperator/#autoCompleteSupportsCurves).
|
|
49
53
|
*/
|
|
50
54
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{isSome as
|
|
2
|
+
import{isSome as o}from"../../core/arrayUtils.js";import{supportsCurves as r,execute as t}from"./gx/operatorAutoComplete.js";import{getSpatialReference as e,fromSpatialReference as p,fromPolyline as a,fromPolygon as m,toPolygon as s}from"./support/apiConverter.js";import{deprecatedOperator as u}from"./support/deprecatedOperator.js";function n(r,u){const n=e(r);return t(r.map(m),u.map(a),p(n)).map(o=>s(o,n)).filter(o)}function c(o,r){return u("autoCompleteOperator","execute","autoCompleteExecute"),n(o,r)}const i=r(),f=Boolean(i);export{n as autoCompleteExecute,i as autoCompleteSupportsCurves,c as execute,f as supportsCurves};
|
|
@@ -23,7 +23,9 @@ export function boundaryExecute(geometry: GeometryUnion): GeometryWithoutMeshUni
|
|
|
23
23
|
/**
|
|
24
24
|
* Calculates the boundary on the input geometry.
|
|
25
25
|
*
|
|
26
|
-
* @deprecated
|
|
26
|
+
* @deprecated
|
|
27
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
28
|
+
* with [boundaryExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/boundaryOperator/#boundaryExecute).
|
|
27
29
|
* @param geometry - The input geometry.
|
|
28
30
|
* @returns Returns the boundary geometry or null.
|
|
29
31
|
* - Using point or multipoint as the input geometry returns null.
|
|
@@ -52,7 +54,9 @@ export function boundaryExecuteMany(geometries: GeometryUnion[]): (GeometryWitho
|
|
|
52
54
|
/**
|
|
53
55
|
* Calculates the boundaries on a set of geometries.
|
|
54
56
|
*
|
|
55
|
-
* @deprecated
|
|
57
|
+
* @deprecated
|
|
58
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
59
|
+
* with [boundaryExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/boundaryOperator/#boundaryExecuteMany).
|
|
56
60
|
* @param geometries - The input geometries.
|
|
57
61
|
* All the geometries must have the same spatial reference.
|
|
58
62
|
* @returns Returns the boundary geometries or null.
|
|
@@ -73,6 +77,8 @@ export const boundarySupportsCurves: boolean;
|
|
|
73
77
|
* Indicates if the operator supports input geometries that contain curves.
|
|
74
78
|
* The value will always be `true`.
|
|
75
79
|
*
|
|
76
|
-
* @deprecated
|
|
80
|
+
* @deprecated
|
|
81
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
82
|
+
* with [boundarySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/boundaryOperator/#boundarySupportsCurves).
|
|
77
83
|
*/
|
|
78
84
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{supportsCurves as r,execute as e,executeMany as o}from"./gx/operatorBoundary.js";import{getSpatialReference as t,toGeometry as n,fromGeometry as u}from"./support/apiConverter.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";function p(r){const o=t(r);return n(e(u(r)),o)}function c(r){return a("boundaryOperator","execute","boundaryExecute"),p(r)}function s(r){const e=r.map(u),a=t(r);return o(e).map(r=>n(r,a))}function i(r){return a("boundaryOperator","executeMany","boundaryExecuteMany"),s(r)}const m=r(),x=Boolean(m);export{p as boundaryExecute,s as boundaryExecuteMany,m as boundarySupportsCurves,c as execute,i as executeMany,x as supportsCurves};
|
|
@@ -22,7 +22,11 @@ export interface BufferExecuteOptions {
|
|
|
22
22
|
unit?: LengthUnit;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated
|
|
27
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
28
|
+
* with [BufferExecuteOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/bufferOperator/#BufferExecuteOptions).
|
|
29
|
+
*/
|
|
26
30
|
export type ExecuteOptions = BufferExecuteOptions;
|
|
27
31
|
|
|
28
32
|
export interface BufferExecuteManyOptions extends BufferExecuteOptions {
|
|
@@ -48,7 +52,11 @@ export interface BufferExecuteManyOptions extends BufferExecuteOptions {
|
|
|
48
52
|
union?: boolean;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated
|
|
57
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
58
|
+
* with [BufferExecuteManyOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/bufferOperator/#BufferExecuteManyOptions).
|
|
59
|
+
*/
|
|
52
60
|
export type ExecuteManyOptions = BufferExecuteManyOptions;
|
|
53
61
|
|
|
54
62
|
/**
|
|
@@ -67,7 +75,9 @@ export function bufferExecute(geometry: GeometryUnion, distance: number, options
|
|
|
67
75
|
/**
|
|
68
76
|
* Creates a buffer around the input geometry.
|
|
69
77
|
*
|
|
70
|
-
* @deprecated
|
|
78
|
+
* @deprecated
|
|
79
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
80
|
+
* with [bufferExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/bufferOperator/#bufferExecute).
|
|
71
81
|
* @param geometry - The input geometry to be buffered.
|
|
72
82
|
* @param distance - The buffer distance for the geometry. Unless the `unit` option is set, the default is the geometry's spatial reference unit.
|
|
73
83
|
* @param options - Additional options.
|
|
@@ -100,7 +110,9 @@ export function bufferExecuteMany(geometries: GeometryUnion[], distances: number
|
|
|
100
110
|
* Both `maxDeviation` and `maxVerticesInFullCircle` control the quality of round joins that are in the buffers.
|
|
101
111
|
* The precision of each buffer is `maxDeviation` unless the number of required vertices is too large.
|
|
102
112
|
*
|
|
103
|
-
* @deprecated
|
|
113
|
+
* @deprecated
|
|
114
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
115
|
+
* with [bufferExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/bufferOperator/#bufferExecuteMany).
|
|
104
116
|
* @param geometries - The input geometries to be buffered.
|
|
105
117
|
* All the geometries must have the same spatial reference.
|
|
106
118
|
* @param distances - The buffer distances for the geometries.
|
|
@@ -121,6 +133,8 @@ export const bufferSupportsCurves: boolean;
|
|
|
121
133
|
* Indicates if the operator supports input geometries that contain curves.
|
|
122
134
|
* The value will always be `true`. This will produce densified output geometries.
|
|
123
135
|
*
|
|
124
|
-
* @deprecated
|
|
136
|
+
* @deprecated
|
|
137
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
138
|
+
* with [bufferSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/bufferOperator/#bufferSupportsCurves).
|
|
125
139
|
*/
|
|
126
140
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{isSome as
|
|
2
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{convertToSpatialReferenceUnit as e}from"../../core/units.js";import{supportsCurves as t,execute as o,executeManyEx as n}from"./gx/operatorBuffer.js";import{getSpatialReference as u,toPolygon as p,fromSpatialReference as a,fromGeometry as f}from"./support/apiConverter.js";import{deprecatedOperator as i}from"./support/deprecatedOperator.js";function s(r,t,n={}){const{unit:i}=n,s=u(r);return i&&(t=e(t,i,s)),p(o(f(r),a(s),t),s)}function c(r,e,t={}){return i("bufferOperator","execute","bufferExecute"),s(r,e,t)}function m(t,o,i={}){let{maxDeviation:s=NaN,maxVerticesInFullCircle:c=96,union:m=!1,unit:x}=i;const l=u(t);x&&(o=o.map(r=>e(r,x,l)),s&&(s=e(s,x,l)));const j=t.map(f);return n(j,a(l),o,s,c,m).map(r=>p(r,l)).filter(r)}function x(r,e,t={}){return i("bufferOperator","executeMany","bufferExecuteMany"),m(r,e,t)}const l=t(),j=Boolean(l);export{s as bufferExecute,m as bufferExecuteMany,l as bufferSupportsCurves,c as execute,x as executeMany,j as supportsCurves};
|
|
@@ -30,7 +30,9 @@ export function centroidExecute(geometry: GeometryUnion): Point;
|
|
|
30
30
|
/**
|
|
31
31
|
* Performs the centroid operation on a geometry.
|
|
32
32
|
*
|
|
33
|
-
* @deprecated
|
|
33
|
+
* @deprecated
|
|
34
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
35
|
+
* with [centroidExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/centroidOperator/#centroidExecute).
|
|
34
36
|
* @param geometry - The geometry in which to calculate the centroid.
|
|
35
37
|
* @returns The centroid of the geometry.
|
|
36
38
|
* @example
|
|
@@ -50,6 +52,8 @@ export const centroidSupportsCurves: boolean;
|
|
|
50
52
|
* Indicates if the operator supports input geometries that contain curves.
|
|
51
53
|
* The value will always be `true`.
|
|
52
54
|
*
|
|
53
|
-
* @deprecated
|
|
55
|
+
* @deprecated
|
|
56
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
57
|
+
* with [centroidSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/centroidOperator/#centroidSupportsCurves).
|
|
54
58
|
*/
|
|
55
59
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{OperatorCentroid2D as
|
|
2
|
+
import{OperatorCentroid2D as r}from"../../chunks/OperatorCentroid2D.js";import{fromGeometry as e,toPoint as t,getSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";const p=new r;function u(r){const n=p.execute(e(r),null);return t(n,o(r))}function c(r){return n("centroidOperator","execute","centroidExecute"),u(r)}const s=p.supportsCurves(),i=Boolean(s);export{u as centroidExecute,s as centroidSupportsCurves,c as execute,i as supportsCurves};
|
|
@@ -23,7 +23,9 @@ export function clipExecute(geometry: GeometryUnion, extent: Extent): GeometryWi
|
|
|
23
23
|
/**
|
|
24
24
|
* Perform the clip operation on the input geometry.
|
|
25
25
|
*
|
|
26
|
-
* @deprecated
|
|
26
|
+
* @deprecated
|
|
27
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
28
|
+
* with [clipExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/clipOperator/#clipExecute).
|
|
27
29
|
* @param geometry - The geometry to be clipped.
|
|
28
30
|
* @param extent - The extent used to clip the geometry.
|
|
29
31
|
* @returns Returns the clipped geometry or null.
|
|
@@ -46,7 +48,9 @@ export function clipExecuteMany(geometries: GeometryUnion[], extent: Extent): (G
|
|
|
46
48
|
/**
|
|
47
49
|
* Perform the clip operation on the input geometries.
|
|
48
50
|
*
|
|
49
|
-
* @deprecated
|
|
51
|
+
* @deprecated
|
|
52
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
53
|
+
* with [clipExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/clipOperator/#clipExecuteMany).
|
|
50
54
|
* @param geometries - The array of geometries to be clipped.
|
|
51
55
|
* All the geometries must have the same spatial reference.
|
|
52
56
|
* @param extent - The extent used to clip the geometries.
|
|
@@ -64,6 +68,8 @@ export const clipSupportsCurves: boolean;
|
|
|
64
68
|
* Indicates if the operator supports input geometries that contain curves.
|
|
65
69
|
* The value will always be `true`.
|
|
66
70
|
*
|
|
67
|
-
* @deprecated
|
|
71
|
+
* @deprecated
|
|
72
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
73
|
+
* with [clipSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/clipOperator/#clipSupportsCurves).
|
|
68
74
|
*/
|
|
69
75
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{supportsCurves as e,execute as r,executeMany as t}from"./gx/operatorClip.js";import{getSpatialReference as o,fromExtent as p,toGeometry as n,fromSpatialReference as c,fromGeometry as u}from"./support/apiConverter.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";function s(e,t){const a=o(e),s=p(t).asEnvelope2D();return n(r(u(e),s,c(a)),a)}function i(e,r){return a("clipOperator","execute","clipExecute"),s(e,r)}function l(e,r){const a=e.map(u),s=o(e),i=p(r).asEnvelope2D();return t(a,i,c(s)).map(e=>n(e,s))}function m(e,r){return a("clipOperator","executeMany","clipExecuteMany"),l(e,r)}const x=e(),f=Boolean(x);export{s as clipExecute,l as clipExecuteMany,x as clipSupportsCurves,i as execute,m as executeMany,f as supportsCurves};
|
|
@@ -20,7 +20,9 @@ export function containsAccelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
20
20
|
/**
|
|
21
21
|
* Accelerate a geometry. This method prepares the geometry for faster contains operations when the same geometry is tested multiple times (e.g. in a loop with hundreds of iterations). See the [Acceleration](https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/#acceleration) guide topic for more information.
|
|
22
22
|
*
|
|
23
|
-
* @deprecated
|
|
23
|
+
* @deprecated
|
|
24
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
25
|
+
* with [containsAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/containsOperator/#containsAccelerateGeometry).
|
|
24
26
|
* @param geometry - The geometry to accelerate.
|
|
25
27
|
* @returns Returns `true` if the geometry was successfully accelerated.
|
|
26
28
|
*/
|
|
@@ -41,7 +43,9 @@ export function containsExecute(geometry1: GeometryUnion, geometry2: GeometryUni
|
|
|
41
43
|
/**
|
|
42
44
|
* Perform the contains operation on two geometries.
|
|
43
45
|
*
|
|
44
|
-
* @deprecated
|
|
46
|
+
* @deprecated
|
|
47
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
48
|
+
* with [containsExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/containsOperator/#containsExecute).
|
|
45
49
|
* @param geometry1 - The geometry that is tested for the "contains" relationship to `geometry2`.
|
|
46
50
|
* @param geometry2 - The geometry that is tested for the "within" relationship to `geometry1`.
|
|
47
51
|
* @returns Returns `true` if `geometry1` contains `geometry2`.
|
|
@@ -61,6 +65,8 @@ export const containsSupportsCurves: boolean;
|
|
|
61
65
|
* Indicates if the operator supports input geometries that contain curves.
|
|
62
66
|
* The value will always be `true`.
|
|
63
67
|
*
|
|
64
|
-
* @deprecated
|
|
68
|
+
* @deprecated
|
|
69
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
70
|
+
* with [containsSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/containsOperator/#containsSupportsCurves).
|
|
65
71
|
*/
|
|
66
72
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{x as e}from"../../chunks/UnitFactory.js";import{
|
|
2
|
+
import{x as e}from"../../chunks/UnitFactory.js";import{fromGeometry as t,fromSpatialReference as r,getSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";const c=new e;function a(e){const n=o(e);return c.accelerateGeometry(t(e),r(n),1)}function s(e){return n("containsOperator","accelerateGeometry","containsAccelerateGeometry"),a(e)}function u(e,o){return c.execute(t(e),t(o),r(e.spatialReference),null)}function p(e,t){return n("containsOperator","execute","containsExecute"),u(e,t)}const i=c.supportsCurves(),m=Boolean(i);export{s as accelerateGeometry,a as containsAccelerateGeometry,u as containsExecute,i as containsSupportsCurves,p as execute,m as supportsCurves};
|