@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,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,executeMany as n}from"./gx/operatorMinimumBoundingCircle.js";import{fromGeometry as o,getSpatialReference as i,toPolygon as t}from"./support/apiConverter.js";import{deprecatedOperator as u}from"./support/deprecatedOperator.js";function m(r){return c([r])[0]}function p(r){return u("minimumBoundingCircleOperator","execute","minimumBoundingCircleExecute"),m(r)}function c(e,u={}){const{merge:m=!1}=u,p=e.map(o),c=i(e);return n(p,m).map(r=>t(r,c)).filter(r)}function a(r,e={}){return u("minimumBoundingCircleOperator","executeMany","minimumBoundingCircleExecuteMany"),c(r,e)}const s=e(),f=Boolean(s);export{p as execute,a as executeMany,m as minimumBoundingCircleExecute,c as minimumBoundingCircleExecuteMany,s as minimumBoundingCircleSupportsCurves,f as supportsCurves};
|
|
@@ -17,7 +17,11 @@ export interface MultiPartToSinglePartOptions {
|
|
|
17
17
|
simplifyPolygons?: boolean;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated
|
|
22
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
23
|
+
* with [MultiPartToSinglePartOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#MultiPartToSinglePartOptions).
|
|
24
|
+
*/
|
|
21
25
|
export type Options = MultiPartToSinglePartOptions;
|
|
22
26
|
|
|
23
27
|
/**
|
|
@@ -42,7 +46,9 @@ export function multiPartToSinglePartExecuteMany(geometries: GeometryUnion[], op
|
|
|
42
46
|
* Single part geometries will not be affected (i.e. they just get passed along) with the exception of multipoints, which always become points.
|
|
43
47
|
* By default, polygons will be simplified before producing single parts.
|
|
44
48
|
*
|
|
45
|
-
* @deprecated
|
|
49
|
+
* @deprecated
|
|
50
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
51
|
+
* with [multiPartToSinglePartExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#multiPartToSinglePartExecuteMany).
|
|
46
52
|
* @param geometries - The input geometries to be converted to single part geometries.
|
|
47
53
|
* All the geometries must have the same spatial reference.
|
|
48
54
|
* @param options - Additional options.
|
|
@@ -65,6 +71,8 @@ export const multiPartToSinglePartSupportsCurves: boolean;
|
|
|
65
71
|
* Indicates if the operator supports input geometries that contain curves.
|
|
66
72
|
* The value will always be `true`.
|
|
67
73
|
*
|
|
68
|
-
* @deprecated
|
|
74
|
+
* @deprecated
|
|
75
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
76
|
+
* with [multiPartToSinglePartSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#multiPartToSinglePartSupportsCurves).
|
|
69
77
|
*/
|
|
70
78
|
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 r}from"../../core/arrayUtils.js";import{
|
|
2
|
+
import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as t,executeMany as o}from"./gx/operatorMultiPartToSinglePart.js";import{fromGeometry as e,getSpatialReference as a,fromSpatialReference as p,toGeometry as i}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";function s(t,n={}){const{simplifyPolygons:s=!0}=n,u=s?1:2,m=t.map(e),l=a(t);return o(m,p(l),u).map(r=>i(r,l)).filter(r)}function u(r,t={}){return n("multiPartToSinglePartOperator","executeMany","multiPartToSinglePartExecuteMany"),s(r,t)}const m=t(),l=Boolean(m);export{u as executeMany,s as multiPartToSinglePartExecuteMany,m as multiPartToSinglePartSupportsCurves,l as supportsCurves};
|
|
@@ -80,7 +80,11 @@ export interface OffsetOptions {
|
|
|
80
80
|
unit?: LengthUnit;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated
|
|
85
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
86
|
+
* with [OffsetOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#OffsetOptions).
|
|
87
|
+
*/
|
|
84
88
|
export type Options = OffsetOptions;
|
|
85
89
|
|
|
86
90
|
/**
|
|
@@ -105,7 +109,9 @@ export function offsetExecute(geometry: GeometryUnion, distance: number, options
|
|
|
105
109
|
* Creates an offset version of the input geometry.
|
|
106
110
|
* This is not applicable to point geometries.
|
|
107
111
|
*
|
|
108
|
-
* @deprecated
|
|
112
|
+
* @deprecated
|
|
113
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
114
|
+
* with [offsetExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetExecute).
|
|
109
115
|
* @param geometry - The input geometry.
|
|
110
116
|
* Can be an extent, polyline, or polygon.
|
|
111
117
|
* Point and multipoint geometries are not supported.
|
|
@@ -137,7 +143,9 @@ export function offsetExecuteMany(geometries: GeometryUnion[], distance: number,
|
|
|
137
143
|
/**
|
|
138
144
|
* Creates offset versions of the input geometries.
|
|
139
145
|
*
|
|
140
|
-
* @deprecated
|
|
146
|
+
* @deprecated
|
|
147
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
148
|
+
* with [offsetExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetExecuteMany).
|
|
141
149
|
* @param geometries - The set of input geometries.
|
|
142
150
|
* Can be extents, polylines, or polygons.
|
|
143
151
|
* Point and multipoint geometries are not supported.
|
|
@@ -159,6 +167,8 @@ export const offsetSupportsCurves: boolean;
|
|
|
159
167
|
* Indicates if the operator supports input geometries that contain curves.
|
|
160
168
|
* The value will always be `true`. This will produce densified output geometries.
|
|
161
169
|
*
|
|
162
|
-
* @deprecated
|
|
170
|
+
* @deprecated
|
|
171
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
172
|
+
* with [offsetSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetSupportsCurves).
|
|
163
173
|
*/
|
|
164
174
|
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{convertToSpatialReferenceUnit as t}from"../../core/units.js";import{supportsCurves as e,execute as r,executeMany as o}from"./gx/operatorOffset.js";import{getSpatialReference as n,toGeometry as s,fromSpatialReference as u,fromGeometry as i}from"./support/apiConverter.js";import{deprecatedOperator as f}from"./support/deprecatedOperator.js";const p={round:0,bevel:1,miter:2,square:3};function a(e,o,f={}){const{miterLimit:a=10,flattenError:c=0,joins:m="round",unit:x}=f,j=n(e);return x&&(o=t(o,x,j)),s(r(i(e),u(j),o,p[m],a,c),j)}function c(t,e,r={}){return f("offsetOperator","execute","offsetExecute"),a(t,e,r)}function m(e,r,f={}){const{miterLimit:a=10,flattenError:c=0,joins:m="round",unit:x}=f,j=n(e);x&&(r=t(r,x,j));const d=e.map(i);return o(d,u(j),r,p[m],a,c).map(t=>s(t,j))}function x(t,e,r={}){return f("offsetOperator","executeMany","offsetExecuteMany"),m(t,e,r)}const j=e(),d=Boolean(j);export{c as execute,x as executeMany,a as offsetExecute,m as offsetExecuteMany,j as offsetSupportsCurves,d as supportsCurves};
|
|
@@ -18,7 +18,9 @@ export function overlapsAccelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
18
18
|
/**
|
|
19
19
|
* Accelerate a geometry. This method prepares the geometry for faster overlaps 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.
|
|
20
20
|
*
|
|
21
|
-
* @deprecated
|
|
21
|
+
* @deprecated
|
|
22
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
23
|
+
* with [overlapsAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsAccelerateGeometry).
|
|
22
24
|
* @param geometry - The geometry to accelerate.
|
|
23
25
|
* @returns Returns `true` if the geometry was successfully accelerated.
|
|
24
26
|
*/
|
|
@@ -40,7 +42,9 @@ export function overlapsExecute(geometry1: GeometryUnion, geometry2: GeometryUni
|
|
|
40
42
|
/**
|
|
41
43
|
* Perform the overlaps operation on two geometries.
|
|
42
44
|
*
|
|
43
|
-
* @deprecated
|
|
45
|
+
* @deprecated
|
|
46
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
47
|
+
* with [overlapsExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsExecute).
|
|
44
48
|
* @param geometry1 - The base geometry that is tested for the "overlaps" relationship with `geometry2`.
|
|
45
49
|
* @param geometry2 - The comparison geometry that is tested for the "overlaps" relationship with `geometry1`.
|
|
46
50
|
* @returns Returns `true` if the intersection set results in a geometry different from both of the input geometries, but of the same dimension. For example, if `geometry1` and `geometry2` are both polygons, then they must return a polygon in order to overlap. If two polygons cross each other at exactly one point then no overlap has occurred because points have a dimension of 0 and polygons have a dimension of 2. See the [Working with spatial relationship operators](https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/#dimensionality) guide topic on dimensionality for more details.
|
|
@@ -61,6 +65,8 @@ export const overlapsSupportsCurves: 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 [overlapsSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsSupportsCurves).
|
|
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{OperatorOverlaps as e}from"../../chunks/OperatorOverlaps.js";import{
|
|
2
|
+
import{OperatorOverlaps as e}from"../../chunks/OperatorOverlaps.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as p}from"./support/deprecatedOperator.js";const n=new e;function a(e){const p=r(e);return n.accelerateGeometry(t(e),o(p),1)}function c(e){return p("overlapsOperator","accelerateGeometry","overlapsAccelerateGeometry"),a(e)}function s(e,r){return n.execute(t(e),t(r),o(e.spatialReference),null)}function u(e,r){return p("overlapsOperator","execute","overlapsExecute"),s(e,r)}const l=n.supportsCurves(),i=Boolean(l);export{c as accelerateGeometry,u as execute,a as overlapsAccelerateGeometry,s as overlapsExecute,l as overlapsSupportsCurves,i as supportsCurves};
|
|
@@ -39,7 +39,11 @@ export interface PolygonOverlayOptions {
|
|
|
39
39
|
multiPart?: boolean;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated
|
|
44
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
45
|
+
* with [PolygonOverlayOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#PolygonOverlayOptions).
|
|
46
|
+
*/
|
|
43
47
|
export type Options = PolygonOverlayOptions;
|
|
44
48
|
|
|
45
49
|
/** Object returned by the [polygonOverlayExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlayExecuteMany) method. */
|
|
@@ -67,7 +71,9 @@ export function polygonOverlayExecuteMany(polygons: Polygon[], options?: Polygon
|
|
|
67
71
|
/**
|
|
68
72
|
* Performs the topological overlay of the geometry set in the XY plane.
|
|
69
73
|
*
|
|
70
|
-
* @deprecated
|
|
74
|
+
* @deprecated
|
|
75
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
76
|
+
* with [polygonOverlayExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlayExecuteMany).
|
|
71
77
|
* @param polygons - The set of polygons to overlay.
|
|
72
78
|
* All the polygons must have the same spatial reference.
|
|
73
79
|
* @param options - Additional options.
|
|
@@ -89,6 +95,8 @@ export const polygonOverlaySupportsCurves: boolean;
|
|
|
89
95
|
* Indicates if the operator supports input polygons that contain curves.
|
|
90
96
|
* The value will always be `true`.
|
|
91
97
|
*
|
|
92
|
-
* @deprecated
|
|
98
|
+
* @deprecated
|
|
99
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
100
|
+
* with [polygonOverlaySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlaySupportsCurves).
|
|
93
101
|
*/
|
|
94
102
|
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,executeMany as o}from"./gx/operatorPolygonOverlay.js";import{getSpatialReference as r,fromSpatialReference as t,fromPolygon as p,toPolygon as s}from"./support/apiConverter.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";function n(e,a){const{overlaps:n=!0,noOverlaps:u=!0,gaps:l,holes:y,multiPart:c}=a??{};let m=0;n&&(m|=1),u&&(m|=2),l&&(m|=4),y&&(m|=8),c&&(m|=16);const i=r(e),v=o(e.map(p),t(i),m),f=[],g=[];let x;for(;x=v.next();)f.push(s(x,i)),g.push(v.getGeometryIDs());return{results:f,ids:g}}function u(e,o){return a("polygonOverlayOperator","executeMany","polygonOverlayExecuteMany"),n(e,o)}const l=e(),y=Boolean(l);export{u as executeMany,n as polygonOverlayExecuteMany,l as polygonOverlaySupportsCurves,y as supportsCurves};
|
|
@@ -15,7 +15,11 @@ export interface PolygonSlicerOptions {
|
|
|
15
15
|
transform?: Transformation;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
21
|
+
* with [PolygonSlicerOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#PolygonSlicerOptions).
|
|
22
|
+
*/
|
|
19
23
|
export type Options = PolygonSlicerOptions;
|
|
20
24
|
|
|
21
25
|
export interface PolygonSlicerFindSlicesByAreaOptions extends PolygonSlicerOptions {
|
|
@@ -27,7 +31,11 @@ export interface PolygonSlicerFindSlicesByAreaOptions extends PolygonSlicerOptio
|
|
|
27
31
|
unit?: AreaUnit;
|
|
28
32
|
}
|
|
29
33
|
|
|
30
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated
|
|
36
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
37
|
+
* with [PolygonSlicerFindSlicesByAreaOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#PolygonSlicerFindSlicesByAreaOptions).
|
|
38
|
+
*/
|
|
31
39
|
export type FindSlicesByAreaOptions = PolygonSlicerFindSlicesByAreaOptions;
|
|
32
40
|
|
|
33
41
|
/**
|
|
@@ -49,7 +57,9 @@ export function polygonSlicerFindSlicesByArea(polygon: Polygon, partCount: numbe
|
|
|
49
57
|
/**
|
|
50
58
|
* Finds positions of the sliced strips for a given polygon given the number of equal area parts to slice the polygon into.
|
|
51
59
|
*
|
|
52
|
-
* @deprecated
|
|
60
|
+
* @deprecated
|
|
61
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
62
|
+
* with [polygonSlicerFindSlicesByArea()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerFindSlicesByArea).
|
|
53
63
|
* @param polygon - The input polygon.
|
|
54
64
|
* @param partCount - The number of parts to slice into.
|
|
55
65
|
* @param remainingArea - The size of the remaining piece of the uncut polygon. Pass zero, if you want to slice the whole polygon.
|
|
@@ -80,7 +90,9 @@ export function polygonSlicerRecursiveSliceEqualArea(polygon: Polygon, partCount
|
|
|
80
90
|
/**
|
|
81
91
|
* Slices the given polygon into equal area parts, not necessarily strips. The slicing is done recursively, each time slicing the polygon into two parts along the larger dimension (height or width).
|
|
82
92
|
*
|
|
83
|
-
* @deprecated
|
|
93
|
+
* @deprecated
|
|
94
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
95
|
+
* with [polygonSlicerRecursiveSliceEqualArea()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerRecursiveSliceEqualArea).
|
|
84
96
|
* @param polygon - The input polygon to slice.
|
|
85
97
|
* @param partCount - The number of equal area parts to slice the polygon into.
|
|
86
98
|
* @param options - Additional options.
|
|
@@ -109,7 +121,9 @@ export function polygonSlicerSliceIntoStrips(polygon: Polygon, ySlices: number[]
|
|
|
109
121
|
/**
|
|
110
122
|
* Slices the given polygon into strips.
|
|
111
123
|
*
|
|
112
|
-
* @deprecated
|
|
124
|
+
* @deprecated
|
|
125
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
126
|
+
* with [polygonSlicerSliceIntoStrips()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerSliceIntoStrips).
|
|
113
127
|
* @param polygon - The input polygon to slice.
|
|
114
128
|
* @param ySlices - The array of y coordinates, sorted in ascending order. The polygon will be transformed with the transform, and then it will be sliced horizontally at each y coordinate. That is, the `ySlices` are given in the coordinates after transform is applied to the polygon.
|
|
115
129
|
* @param options - Additional options.
|
|
@@ -131,6 +145,8 @@ export const polygonSlicerSupportsCurves: boolean;
|
|
|
131
145
|
* Indicates if the operator supports input geometries that contain curves.
|
|
132
146
|
* The value will always be `true`.
|
|
133
147
|
*
|
|
134
|
-
* @deprecated
|
|
148
|
+
* @deprecated
|
|
149
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
150
|
+
* with [polygonSlicerSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerSupportsCurves).
|
|
135
151
|
*/
|
|
136
152
|
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 o,getMetersPerUnitForSR as e}from"../../core/units.js";import{supportsCurves as n,findSlicesByArea as t,recursiveSliceEqualArea as i,sliceIntoStrips as a}from"./gx/operatorPolygonSlicer.js";import{getSpatialReference as s,fromSpatialReference as l,fromPolygon as c,toPolygon as u}from"./support/apiConverter.js";import{deprecatedOperator as p}from"./support/deprecatedOperator.js";function f(n,i,a,u={}){const{transform:p,unit:f}=u,m=s(n);if(a&&f){if(m.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const n=r(m);n!==f&&(n?a=o(a,f,n):(a=o(a,f,"square-meters"),a=Math.sqrt(a),a/=e(m),a**=2))}return t(c(n),l(m),i,a,p?.transform??null)}function m(r,o,e,n={}){return p("polygonSlicerOperator","findSlicesByArea","polygonSlicerFindSlicesByArea"),f(r,o,e,n)}function S(r,o,e={}){const{transform:n}=e,t=s(r);return i(c(r),l(t),o,n?.transform??null).map(r=>u(r,t))}function g(r,o,e={}){return p("polygonSlicerOperator","recursiveSliceEqualArea","polygonSlicerRecursiveSliceEqualArea"),S(r,o,e)}function y(r,o,e={}){const{transform:n}=e,t=s(r);return a(c(r),l(t),o,n?.transform??null).map(r=>u(r,t))}function v(r,o,e={}){return p("polygonSlicerOperator","sliceIntoStrips","polygonSlicerSliceIntoStrips"),y(r,o,e)}const A=n(),d=Boolean(A);export{m as findSlicesByArea,f as polygonSlicerFindSlicesByArea,S as polygonSlicerRecursiveSliceEqualArea,y as polygonSlicerSliceIntoStrips,A as polygonSlicerSupportsCurves,g as recursiveSliceEqualArea,v as sliceIntoStrips,d as supportsCurves};
|
|
@@ -54,7 +54,9 @@ export function projectIsLoaded(): boolean;
|
|
|
54
54
|
/**
|
|
55
55
|
* Indicates if all dependencies of this module have been loaded.
|
|
56
56
|
*
|
|
57
|
-
* @deprecated
|
|
57
|
+
* @deprecated
|
|
58
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
59
|
+
* with [projectIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectIsLoaded).
|
|
58
60
|
* @returns Returns `true` if this module's dependencies have been loaded.
|
|
59
61
|
*/
|
|
60
62
|
export function isLoaded(): boolean;
|
|
@@ -70,7 +72,9 @@ export function projectLoad(): Promise<void>;
|
|
|
70
72
|
/**
|
|
71
73
|
* Loads this module's dependencies. This method must be called first if `isLoaded` returns `false`.
|
|
72
74
|
*
|
|
73
|
-
* @deprecated
|
|
75
|
+
* @deprecated
|
|
76
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
77
|
+
* with [projectLoad()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectLoad).
|
|
74
78
|
* @returns Resolves when the dependencies have been loaded.
|
|
75
79
|
* @see [isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded)
|
|
76
80
|
*/
|
|
@@ -100,7 +104,9 @@ export function projectExecute(geometry: GeometryUnion, outSpatialReference: Spa
|
|
|
100
104
|
/**
|
|
101
105
|
* Projects a geometry to the specified output spatial reference.
|
|
102
106
|
*
|
|
103
|
-
* @deprecated
|
|
107
|
+
* @deprecated
|
|
108
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
109
|
+
* with [projectExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectExecute).
|
|
104
110
|
* @param geometry - The geometry to project.
|
|
105
111
|
* @param outSpatialReference - The spatial reference to which the input geometry is projected.
|
|
106
112
|
* @param options - Additional options.
|
|
@@ -133,7 +139,9 @@ export function projectExecuteMany(geometries: GeometryUnion[], outSpatialRefere
|
|
|
133
139
|
/**
|
|
134
140
|
* Projects an array of geometries to the specified output spatial reference.
|
|
135
141
|
*
|
|
136
|
-
* @deprecated
|
|
142
|
+
* @deprecated
|
|
143
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
144
|
+
* with [projectExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectExecuteMany).
|
|
137
145
|
* @param geometries - An array of geometries to project.
|
|
138
146
|
* All the geometries must have the same spatial reference.
|
|
139
147
|
* @param outSpatialReference - The spatial reference to which the input geometry is projected.
|
|
@@ -154,6 +162,8 @@ export const projectSupportsCurves: boolean | null | undefined;
|
|
|
154
162
|
* The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
|
|
155
163
|
* This will produce densified output geometries.
|
|
156
164
|
*
|
|
157
|
-
* @deprecated
|
|
165
|
+
* @deprecated
|
|
166
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
167
|
+
* with [projectSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectSupportsCurves).
|
|
158
168
|
*/
|
|
159
169
|
export const supportsCurves: boolean | null | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{execute as e,executeMany as r,load as o,supportsCurves as t,isLoaded as n}from"./gx/operatorProject.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";import{applyZConversionAfterProjection as p}from"./support/projectionZScaling.js";let c,s,i,u,f,j,m;function d(){return!!c&&n()}function l(){return a("projectOperator","isLoaded","projectIsLoaded"),d()}async function x(){if(!d()){const[e,r]=await Promise.all([import("./support/apiConverter.js"),import("./support/projectionTransformation.js"),o()]);c=e.fromGeometry,s=e.fromSpatialReference,i=e.getSpatialReference,u=e.toGeometry,f=r.createProjectionTransformation,j=t(),m=j}}function y(){return a("projectOperator","load","projectLoad"),x()}function O(r,o,t){const n=i(r),a=f(s(n),s(o),t),j=u(e(c(r),a),o);return!t?.zConversionDisabled&&j?.hasZ&&p([j],n,o),j}function v(e,r,o){return a("projectOperator","execute","projectExecute"),O(e,r,o)}function C(e,o,t){const n=e.map(c),a=i(e),j=f(s(a),s(o),t),m=r(n,j).map(e=>u(e,o));return!t?.zConversionDisabled&&m&&p(m,a,o),m}function L(e,r,o){return a("projectOperator","executeMany","projectExecuteMany"),C(e,r,o)}export{v as execute,L as executeMany,l as isLoaded,y as load,O as projectExecute,C as projectExecuteMany,d as projectIsLoaded,x as projectLoad,j as projectSupportsCurves,m as supportsCurves};
|
|
@@ -20,7 +20,11 @@ export interface ProximityOptions {
|
|
|
20
20
|
unit?: LengthUnit;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated
|
|
25
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
26
|
+
* with [ProximityOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#ProximityOptions).
|
|
27
|
+
*/
|
|
24
28
|
export type Options = ProximityOptions;
|
|
25
29
|
|
|
26
30
|
export interface ProximityGetNearestCoordinateOptions extends ProximityOptions {
|
|
@@ -41,7 +45,11 @@ export interface ProximityGetNearestCoordinateOptions extends ProximityOptions {
|
|
|
41
45
|
testPolygonInterior?: boolean;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated
|
|
50
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
51
|
+
* with [ProximityGetNearestCoordinateOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#ProximityGetNearestCoordinateOptions).
|
|
52
|
+
*/
|
|
45
53
|
export type GetNearestCoordinateOptions = ProximityGetNearestCoordinateOptions;
|
|
46
54
|
|
|
47
55
|
/**
|
|
@@ -60,7 +68,9 @@ export function proximityGetNearestCoordinate(geometry: GeometryUnion, point: Po
|
|
|
60
68
|
/**
|
|
61
69
|
* Returns the nearest coordinate on the geometry to the given input point.
|
|
62
70
|
*
|
|
63
|
-
* @deprecated
|
|
71
|
+
* @deprecated
|
|
72
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
73
|
+
* with [proximityGetNearestCoordinate()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestCoordinate).
|
|
64
74
|
* @param geometry - The input geometry.
|
|
65
75
|
* @param point - The point used to search for the nearest coordinate in `geometry`.
|
|
66
76
|
* @param options - Additional options.
|
|
@@ -87,7 +97,9 @@ export function proximityGetNearestVertex(geometry: GeometryUnion, point: Point,
|
|
|
87
97
|
/**
|
|
88
98
|
* Returns the nearest vertex on the geometry.
|
|
89
99
|
*
|
|
90
|
-
* @deprecated
|
|
100
|
+
* @deprecated
|
|
101
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
102
|
+
* with [proximityGetNearestVertex()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertex).
|
|
91
103
|
* @param geometry - The input geometry.
|
|
92
104
|
* @param point - The point used to search for the nearest coordinate in the input `geometry`.
|
|
93
105
|
* @param options - Additional options.
|
|
@@ -120,7 +132,9 @@ export function proximityGetNearestVertices(geometry: GeometryUnion, point: Poin
|
|
|
120
132
|
/**
|
|
121
133
|
* Returns vertices of the geometry that are closer to the given point than the given radius.
|
|
122
134
|
*
|
|
123
|
-
* @deprecated
|
|
135
|
+
* @deprecated
|
|
136
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
137
|
+
* with [proximityGetNearestVertices()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertices).
|
|
124
138
|
* @param geometry - The input geometry.
|
|
125
139
|
* @param point - The point used to search for the nearest coordinate in `geometry`.
|
|
126
140
|
* @param searchRadius - The planar distance from the `inputPoint` to search for vertices.
|
|
@@ -147,6 +161,8 @@ export const proximitySupportsCurves: boolean;
|
|
|
147
161
|
* Indicates if the operator supports input geometries that contain curves.
|
|
148
162
|
* The value will always be `true`.
|
|
149
163
|
*
|
|
150
|
-
* @deprecated
|
|
164
|
+
* @deprecated
|
|
165
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
166
|
+
* with [proximitySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximitySupportsCurves).
|
|
151
167
|
*/
|
|
152
168
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{O as
|
|
2
|
+
import{O as t}from"../../chunks/OperatorProximity.js";import{convertFromSpatialReferenceUnit as e,convertToSpatialReferenceUnit as r}from"../../core/units.js";import{fromGeometry as o,fromPoint as i,getSpatialReference as n}from"./support/apiConverter.js";import{deprecatedOperator as s}from"./support/deprecatedOperator.js";import{toProximityResult as a}from"./support/proximityResult.js";const c=new t;function p(t,r,s={}){const{calculateLeftRightSide:p=!1,testPolygonInterior:m=!0,unit:u}=s,d=c.getNearestCoordinate(o(t),i(r).getXY(),m,p);if(u&&d.m_distance){const r=n(t);d.m_distance=e(d.m_distance,r,u)}return a(d,t,p)}function m(t,e,r={}){return s("proximityOperator","getNearestCoordinate","proximityGetNearestCoordinate"),p(t,e,r)}function u(t,r,s={}){const{unit:p}=s,m=c.getNearestVertex(o(t),i(r).getXY());if(p&&m.m_distance){const r=n(t);m.m_distance=e(m.m_distance,r,p)}return a(m,t)}function d(t,e,r={}){return s("proximityOperator","getNearestVertex","proximityGetNearestVertex"),u(t,e,r)}function f(t,s,p,m,u={}){const{unit:d}=u,f=n(t);return d&&p&&(p=r(p,d,f)),c.getNearestVertices(o(t),i(s).getXY(),p,m).map(r=>(d&&r.m_distance&&(r.m_distance=e(r.m_distance,f,d)),a(r,t)))}function x(t,e,r,o,i={}){return s("proximityOperator","getNearestVertices","proximityGetNearestVertices"),f(t,e,r,o,i)}const g=c.supportsCurves(),y=Boolean(g);export{m as getNearestCoordinate,d as getNearestVertex,x as getNearestVertices,p as proximityGetNearestCoordinate,u as proximityGetNearestVertex,f as proximityGetNearestVertices,g as proximitySupportsCurves,y as supportsCurves};
|
|
@@ -18,7 +18,9 @@ export function relateAccelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
18
18
|
/**
|
|
19
19
|
* Accelerate a geometry. This method prepares the geometry for faster relate 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.
|
|
20
20
|
*
|
|
21
|
-
* @deprecated
|
|
21
|
+
* @deprecated
|
|
22
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
23
|
+
* with [relateAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateAccelerateGeometry).
|
|
22
24
|
* @param geometry - The geometry to accelerate.
|
|
23
25
|
* @returns Returns `true` if the geometry was successfully accelerated.
|
|
24
26
|
*/
|
|
@@ -37,7 +39,9 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
37
39
|
export function relateExecute(geometry1: GeometryUnion, geometry2: GeometryUnion, relation: string): boolean;
|
|
38
40
|
|
|
39
41
|
/**
|
|
40
|
-
* @deprecated
|
|
42
|
+
* @deprecated
|
|
43
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
44
|
+
* with [relateExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateExecute).
|
|
41
45
|
* @param geometry1 - The first geometry for the relation.
|
|
42
46
|
* @param geometry2 - The second geometry for the relation.
|
|
43
47
|
* @param relation - The DE-9IM matrix relation encoded as a string to test against the relationship of the two geometries
|
|
@@ -60,7 +64,9 @@ export function relateIsValidDE9IM(relation: string): boolean;
|
|
|
60
64
|
/**
|
|
61
65
|
* Indicates if the DE-9IM matrix relation is valid.
|
|
62
66
|
*
|
|
63
|
-
* @deprecated
|
|
67
|
+
* @deprecated
|
|
68
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
69
|
+
* with [relateIsValidDE9IM()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateIsValidDE9IM).
|
|
64
70
|
* @param relation - The DE-9IM matrix relation encoded as a string.
|
|
65
71
|
* @returns Returns `true` if the DE-9IM matrix relation is valid.
|
|
66
72
|
*/
|
|
@@ -76,6 +82,8 @@ export const relateSupportsCurves: boolean;
|
|
|
76
82
|
* Indicates if the operator supports input geometries that contain curves.
|
|
77
83
|
* The value will always be `true`.
|
|
78
84
|
*
|
|
79
|
-
* @deprecated
|
|
85
|
+
* @deprecated
|
|
86
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
87
|
+
* with [relateSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateSupportsCurves).
|
|
80
88
|
*/
|
|
81
89
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{OperatorRelate as e}from"../../chunks/OperatorRelate.js";import{
|
|
2
|
+
import{OperatorRelate as e}from"../../chunks/OperatorRelate.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";const a=new e;function c(e){const n=r(e);return a.accelerateGeometry(t(e),o(n),1)}function u(e){return n("relateOperator","accelerateGeometry","relateAccelerateGeometry"),c(e)}function p(e,r,n){return a.execute(t(e),t(r),o(e.spatialReference),n,null)}function l(e,r,t){return n("relateOperator","execute","relateExecute"),p(e,r,t)}function i(e){return a.isValidDE9IM(e)}function s(e){return n("relateOperator","isValidDE9IM","relateIsValidDE9IM"),i(e)}const f=a.supportsCurves(),m=Boolean(f);export{u as accelerateGeometry,l as execute,s as isValidDE9IM,c as relateAccelerateGeometry,p as relateExecute,i as relateIsValidDE9IM,f as relateSupportsCurves,m as supportsCurves};
|
|
@@ -30,7 +30,9 @@ export function reshapeExecute(geometry: Polygon | Polyline, reshaper: Polyline)
|
|
|
30
30
|
* The first and last intersection points of the reshaper are chosen closest to the end points of the reshaper in the case that multiple intersections are found.
|
|
31
31
|
* For polygons, only individual paths can be reshaped. However, polylines can be reshaped across paths.
|
|
32
32
|
*
|
|
33
|
-
* @deprecated
|
|
33
|
+
* @deprecated
|
|
34
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
35
|
+
* with [reshapeExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/reshapeOperator/#reshapeExecute).
|
|
34
36
|
* @param geometry - The polygon or polyline to be reshaped.
|
|
35
37
|
* @param reshaper - The single path polyline reshaper.
|
|
36
38
|
* @returns If the `geometry` is a polygon, the return type is polygon, and if the `geometry` is a polyline, the return type is polyline.
|
|
@@ -51,6 +53,8 @@ export const reshapeSupportsCurves: boolean;
|
|
|
51
53
|
* Indicates if the operator supports input geometries that contain curves.
|
|
52
54
|
* The value will always be `false`.
|
|
53
55
|
*
|
|
54
|
-
* @deprecated
|
|
56
|
+
* @deprecated
|
|
57
|
+
* since 5.2. Refactor using \@arcgis/codemod or manually replace usages
|
|
58
|
+
* with [reshapeSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/reshapeOperator/#reshapeSupportsCurves).
|
|
55
59
|
*/
|
|
56
60
|
export const supportsCurves: ReturnType<typeof Boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{t as e,p as t,G as r,d as s}from"../../chunks/Geometry.js";import{a,S as n,P as m}from"../../chunks/MultiPathImpl.js";import{Envelope2D as i}from"../../chunks/Envelope2D.js";import{c as o,P as h}from"../../chunks/Envelope.js";import{J as
|
|
2
|
+
import{t as e,p as t,G as r,d as s}from"../../chunks/Geometry.js";import{a,S as n,P as m}from"../../chunks/MultiPathImpl.js";import{Envelope2D as i}from"../../chunks/Envelope2D.js";import{c as o,P as h}from"../../chunks/Envelope.js";import{J as l}from"../../chunks/UnitFactory.js";import{getSpatialReference as c,fromGeometry as u,fromPolyline as g,fromSpatialReference as _,toGeometry as d}from"./support/apiConverter.js";import{deprecatedOperator as p}from"./support/deprecatedOperator.js";function x(s,n,m,h){if(n.getPathCount()>1&&e(""),s.isEmpty()||n.isEmpty())return null;t(s),t(n);let l=null;const c=new i;s.queryEnvelope(c);const u=new i;n.queryEnvelope(u);const g=new i;g.setCoords({env2D:c}),g.mergeEnvelope2D(u);const _=o(m,g,!1).total(),d=new A(h);let p=d.setIndicesAndScalars(s,n,_);if(p){const e=d.getTrimmedPolyline(s,n);if(e.isEmpty())return null;l=d.getReshapedMultiPath(s,e,m)}else{if(Number.isNaN(d.m_scalarB0)||s.getGeometryType()===r.enumPolyline)return null;const e=new a;if(e.add(n,!0),d.clearIndicesAndScalars(),p=d.setIndicesAndScalars(s,e,_),!p)return null;const t=d.getTrimmedPolyline(s,e);if(t.isEmpty())return null;l=d.getReshapedMultiPath(s,t,m)}return l}class A{m_pathA0;m_pathA1;m_vertexA0;m_vertexA1;m_vertexB0;m_vertexB1;m_scalarA0;m_scalarA1;m_scalarB0;m_scalarB1;m_progressTracker;constructor(e){this.m_progressTracker=e,this.clearIndicesAndScalars()}setIndicesAndScalars(e,t,s){const a=new i,n=new i;e.queryEnvelope(a),e.queryEnvelope(n),a.inflateCoords(s,s);if(!a.intersect(n))return!1;const m=e.getImpl().querySegmentIterator(),o=t.getImpl().querySegmentIterator(),h=[0,0],l=[0,0];let c=-1,u=-1,g=-1,_=-1,d=-1,p=-1,x=Number.NaN,A=Number.NaN,S=Number.NaN,v=Number.NaN;for(o.nextPath();o.hasNextSegment();){const e=o.nextSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){if(0!==e.intersect(r,null,l,h,s)&&(Number.isNaN(S)||l[0]<S)&&(c=m.getPathIndex(),g=m.getStartPointIndex(),d=o.getStartPointIndex(),x=h[0],S=l[0],0===S))break}}if(0===S)break}if(!Number.isNaN(S)&&1!==S)break}if(Number.isNaN(S))return!1;this.m_pathA0=c,this.m_vertexA0=g,this.m_vertexB0=d,this.m_scalarA0=x,this.m_scalarB0=S;const y=e.getGeometryType();for(o.resetToLastSegment();o.hasPreviousSegment();){const e=o.previousSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),y===r.enumPolygon?m.resetToPath(c):m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){const t=e.intersect(r,null,l,h,s);if(0!==t&&(Number.isNaN(v)||l[t-1]>v)&&(o.getStartPointIndex()!==this.m_vertexB0||l[t-1]!==this.m_scalarB0)&&(u=m.getPathIndex(),_=m.getStartPointIndex(),p=o.getStartPointIndex(),A=h[t-1],v=l[t-1],1===v))break}}if(1===v)break;if(y===r.enumPolygon)break}if(!Number.isNaN(v))break}return!Number.isNaN(v)&&(this.m_pathA1=u,this.m_vertexA1=_,this.m_vertexB1=p,this.m_scalarA1=A,this.m_scalarB1=v,!0)}getTrimmedPolyline(e,t){const r=new n,s=t.createInstance();let a=!0;const m=t.getImpl().querySegmentIterator();if(m.resetToVertex(this.m_vertexB0,0),this.m_vertexB0>this.m_vertexB1)return s;if(this.m_vertexB0===this.m_vertexB1){m.nextSegment().queryCut(this.m_scalarB0,this.m_scalarB1,r,!1),s.addSegment(r.get(),!0)}else for(;;){const e=m.nextSegment(),t=m.getStartPointIndex();if(t===this.m_vertexB0)1!==this.m_scalarB0&&(e.queryCut(this.m_scalarB0,1,r,!1),s.addSegment(r.get(),a),a=!1);else{if(t===this.m_vertexB1){0!==this.m_scalarB1&&(e.queryCut(0,this.m_scalarB1,r),s.addSegment(r.get(),a),a=!1);break}s.addSegment(e,a)}}if(s.isEmpty())return s;if(e.getDescription().getAttributeCount()>1){const t=e.getImpl().querySegmentIterator(),r=new h,a=s.getPointCount();t.resetToVertex(this.m_vertexA0,this.m_pathA0);t.nextSegment().queryCoord(this.m_scalarA0,r),s.setPointByVal(0,r),t.resetToVertex(this.m_vertexA1,this.m_pathA1);t.nextSegment().queryCoord(this.m_scalarA1,r),s.setPointByVal(a-1,r),s.interpolateAttributesRange(0,0,0,a-1)}return s}getReshapedMultiPath(e,t,s){let a;return a=e.getGeometryType()===r.enumPolygon?this.getReshapedPolygon(e,t,s):this.getReshapedPolyline(e,t),a}getReshapedPolygon(e,t,r){const s=e.getImpl().querySegmentIterator();s.setCirculator(!0);const a=new n;new h;const i=new m({vd:e.getDescription()});if(i.addSegmentsFromPath(t,0,0,t.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA1,this.m_pathA0),this.m_vertexA1===this.m_vertexA0&&this.m_scalarA1<=this.m_scalarA0){s.nextSegment().queryCut(this.m_scalarA1,this.m_scalarA0,a),i.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA1&&(e.queryCut(this.m_scalarA1,1,a),i.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA0){0!==this.m_scalarA0&&(e.queryCut(0,this.m_scalarA0,a),i.addSegment(a.get(),!1));break}i.addSegment(e,!1)}}const o=new m({vd:e.getDescription()}),c=t.clone();if(c.reversePath(0),o.addSegmentsFromPath(c,0,0,c.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA0,this.m_pathA0),this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0<this.m_scalarA1){s.nextSegment().queryCut(this.m_scalarA0,this.m_scalarA1,a),o.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA0&&(e.queryCut(this.m_scalarA0,1,a),o.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA1){0!==this.m_scalarA1&&(e.queryCut(0,this.m_scalarA1,a),o.addSegment(a.get(),!1));break}o.addSegment(e,!1)}}const u=Math.abs(i.calculateArea2D()),g=Math.abs(o.calculateArea2D());let _=e.createInstance();for(let n=0;n<e.getPathCount();n++)n===this.m_pathA0?u>=g?_.add(i,!1):_.add(o,!1):_.addPath(e,n,!0);return _=(new l).execute(_,r,!1,this.m_progressTracker),_}getReshapedPolyline(e,t){const r=e.getImpl().querySegmentIterator(),m=new a,i=new n;let o=!1,h=-1,l=Number.NaN;o=this.m_pathA0>this.m_pathA1||this.m_pathA0===this.m_pathA1&&(this.m_vertexA0>this.m_vertexA1||this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0>this.m_scalarA1),o?(h=this.m_vertexA1,l=this.m_scalarA1,r.resetToPath(this.m_pathA1)):(h=this.m_vertexA0,l=this.m_scalarA0,r.resetToPath(this.m_pathA0));let c=!0;for(r.nextPath()||s("reshaper");;){const e=r.nextSegment();if(r.getStartPointIndex()===h){0!==l&&(e.queryCut(0,l,i),m.addSegment(i.get(),c),c=!1);break}m.addSegment(e,c),c=!1}if(o){const e=t.clone();e.reversePath(0),m.addSegmentsFromPath(e,0,0,e.getSegmentCount(),c)}else m.addSegmentsFromPath(t,0,0,t.getSegmentCount(),c);o?(l=this.m_scalarA0,r.resetToVertex(this.m_vertexA0,this.m_pathA0)):(l=this.m_scalarA1,r.resetToVertex(this.m_vertexA1,this.m_pathA1));{const e=r.nextSegment();1!==l&&(e.queryCut(l,1,i),m.addSegment(i.get(),!1))}for(;r.hasNextSegment();){const e=r.nextSegment();m.addSegment(e,!1)}const u=e.createInstance();let g=!1;for(let s=0;s<e.getPathCount();s++)s===this.m_pathA0||s===this.m_pathA1?g||(u.add(m,!1),g=!0):u.addPath(e,s,!0);return u}clearIndicesAndScalars(){this.m_pathA0=-1,this.m_pathA1=-1,this.m_vertexA0=-1,this.m_vertexA1=-1,this.m_vertexB0=-1,this.m_vertexB1=-1,this.m_scalarA0=Number.NaN,this.m_scalarA1=Number.NaN,this.m_scalarB0=Number.NaN,this.m_scalarB1=Number.NaN}}class S{getOperatorType(){return 10006}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!1}execute(e,t,r,s){return x(e,t,r,s)}}const v=new S;function y(e,t){const r=c(e),s=v.execute(u(e),g(t),_(r),null);return d(s,r)}function f(e,t){return p("reshapeOperator","execute","reshapeExecute"),y(e,t)}const P=v.supportsCurves(),N=Boolean(P);export{f as execute,y as reshapeExecute,P as reshapeSupportsCurves,N as supportsCurves};
|