@arcgis/core 6.0.0-next.27 → 6.0.0-next.28

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.
Files changed (119) hide show
  1. package/Map.d.ts +6 -0
  2. package/analysis/AreaMeasurementAnalysis.d.ts +4 -2
  3. package/analysis/DirectLineMeasurementAnalysis.d.ts +8 -4
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/{0bd04bcd4b2710838d48.js → 03f33cb78b5405ab7e23.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{7c75a8ee266c36baa902.js → 5eec1c1162779574f46e.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{9dd1fc56eb1ea6eb705e.js → 76e27e36050a3dd9d249.js} +1 -1
  8. package/assets/esri/core/workers/chunks/76f877e2d2493d56afab.js +1 -0
  9. package/assets/esri/core/workers/chunks/{00580a68835aac653038.js → 9c4961213ac6ec283dd9.js} +5 -5
  10. package/assets/esri/core/workers/chunks/{13c64087be3b2985a21b.js → dbda982485d3fe26c729.js} +1 -1
  11. package/assets/esri/core/workers/chunks/dc7aa0a1eb6c6e361f9f.js +1 -0
  12. package/chunks/BlendLayers.glsl.js +1 -1
  13. package/chunks/Component.glsl.js +9 -12
  14. package/chunks/GaussianSplat.glsl.js +65 -21
  15. package/chunks/GaussianSplatDepth.glsl.js +45 -4
  16. package/chunks/GaussianSplatShadow.glsl.js +73 -19
  17. package/chunks/GlobalIllumination.glsl.js +2 -17
  18. package/chunks/LineMarker.glsl.js +32 -31
  19. package/chunks/OITAddEmission.glsl.js +1 -1
  20. package/chunks/RasterColorizer.glsl.js +1 -1
  21. package/chunks/RibbonLine.glsl.js +34 -34
  22. package/chunks/Terrain.glsl.js +3 -4
  23. package/chunks/Water.glsl.js +22 -23
  24. package/config.js +1 -1
  25. package/form/elements/inputs/DynamicChoiceInput.d.ts +2 -2
  26. package/geometry/operators/containsOperator.d.ts +1 -1
  27. package/geometry/operators/densifyOperator.d.ts +1 -1
  28. package/geometry/operators/differenceOperator.d.ts +6 -4
  29. package/geometry/operators/distanceOperator.d.ts +1 -1
  30. package/geometry/operators/geodesicProximityOperator.d.ts +8 -8
  31. package/geometry/operators/graphicBufferOperator.d.ts +6 -6
  32. package/geometry/operators/integrateOperator.d.ts +2 -2
  33. package/geometry/operators/intersectsOperator.d.ts +3 -3
  34. package/geometry/operators/linesToPolygonsOperator.d.ts +2 -2
  35. package/geometry/operators/locateBetweenOperator.d.ts +2 -2
  36. package/geometry/operators/minimumBoundingCircleOperator.d.ts +1 -1
  37. package/geometry/operators/multiPartToSinglePartOperator.d.ts +2 -2
  38. package/geometry/operators/polygonSlicerOperator.d.ts +2 -2
  39. package/geometry/operators/projectOperator.d.ts +2 -2
  40. package/geometry/operators/proximityOperator.d.ts +15 -15
  41. package/geometry/operators/shapePreservingProjectOperator.d.ts +2 -2
  42. package/geometry/operators/simplifyOperator.d.ts +2 -2
  43. package/geometry/operators/support/GeographicTransformationStep.d.ts +3 -3
  44. package/geometry/operators/support/Transformation.d.ts +8 -8
  45. package/geometry/operators/support/geographicTransformationUtils.d.ts +3 -3
  46. package/geometry/operators/symmetricDifferenceOperator.d.ts +2 -2
  47. package/geometry/operators/withinOperator.d.ts +3 -3
  48. package/kernel.js +1 -1
  49. package/layers/GeospatialPDFLayer.d.ts +2 -2
  50. package/layers/ParquetLayer.d.ts +1 -1
  51. package/package.json +2 -2
  52. package/popup/FeaturesModel.js +1 -1
  53. package/popup/support/featureUtils.js +1 -1
  54. package/rest/featureService/FeatureService.d.ts +0 -5
  55. package/rest/networks/support/TraceLocation.d.ts +2 -1
  56. package/rest/networks/support/TraceResult.d.ts +0 -4
  57. package/rest/support/OutDistance.d.ts +0 -1
  58. package/smartMapping/statistics/histogramForTimeSeries.js +1 -1
  59. package/smartMapping/statistics/summaryStatisticsForTimeSeries.js +1 -1
  60. package/support/BasemapStyle.d.ts +2 -2
  61. package/symbols/cim/types.d.ts +7 -9
  62. package/views/2d/engine/webgl/animations/instructions.js +1 -1
  63. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  64. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementPathHelper.js +1 -1
  65. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  66. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementController.js +1 -1
  67. package/views/3d/analysis/support/projectionUtils.js +1 -1
  68. package/views/3d/environment/SunLighting.d.ts +15 -2
  69. package/views/3d/environment/VirtualLighting.d.ts +15 -2
  70. package/views/3d/input/SceneInputManager.js +1 -1
  71. package/views/3d/input/handlers/ground/GroundMouseWheelMove.js +2 -0
  72. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  73. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
  74. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DView.js +1 -1
  75. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  76. package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
  77. package/views/3d/navigation/Navigation3D.js +1 -1
  78. package/views/3d/state/controllers/GroundMouseWheelController.js +2 -0
  79. package/views/3d/state/utils/OffsetCorrectionController.js +1 -1
  80. package/views/3d/state/utils/groundNavigationUtils.js +1 -1
  81. package/views/3d/terrain/BlendLayers.glsl.js +1 -1
  82. package/views/3d/terrain/RasterColorizer.glsl.js +1 -1
  83. package/views/3d/terrain/TileCompositor.js +1 -1
  84. package/views/3d/terrain/TileRenderer.js +1 -1
  85. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexTangent.glsl.js +7 -8
  86. package/views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js +3 -5
  87. package/views/3d/webgl-engine/core/shaderLibrary/shading/forwardLocalUp.glsl.js +6 -0
  88. package/views/3d/webgl-engine/core/shaderLibrary/shading/getLocalUp.glsl.js +4 -0
  89. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +1 -1
  90. package/views/3d/webgl-engine/core/shaderLibrary/terrain/{TileBackground.glsl.js → blendLayers.glsl.js} +10 -11
  91. package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatEvaluation.glsl.js +8 -2
  92. package/views/3d/webgl-engine/core/shaderLibrary/util/cameraUniforms.js +1 -1
  93. package/views/3d/webgl-engine/materials/Water.glsl.js +1 -1
  94. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  95. package/views/3d/webgl-engine/shaders/GaussianSplatDepth.glsl.js +1 -1
  96. package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +61 -108
  97. package/views/3d/webgl-engine/shaders/GaussianSplatShadow.glsl.js +1 -1
  98. package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
  99. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  100. package/views/3d/webgl-engine/shaders/Terrain.glsl.js +1 -1
  101. package/views/draw/DrawOperation.js +1 -1
  102. package/views/draw/DrawScreenTool.js +1 -1
  103. package/views/input/types.d.ts +2 -4
  104. package/views/interactive/options/LabelOptions.d.ts +5 -5
  105. package/views/interactive/options/SnappingOptions.d.ts +2 -2
  106. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +0 -1
  107. package/widgets/Editor/VisibleElements.d.ts +4 -0
  108. package/widgets/Editor.d.ts +2 -0
  109. package/widgets/FeatureTable.js +1 -1
  110. package/widgets/Features/FeaturesViewModel.js +1 -1
  111. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  112. package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
  113. package/widgets/OrientedImageryViewer/support/dataCaptureUtils.js +1 -1
  114. package/widgets/PanoramicViewer/utils.js +1 -1
  115. package/widgets/Search/LayerSearchSource.d.ts +1 -1
  116. package/widgets/Sketch/VisibleElements.d.ts +4 -0
  117. package/widgets/Sketch.d.ts +2 -0
  118. package/assets/esri/core/workers/chunks/c29091fe157564cffcf7.js +0 -1
  119. package/assets/esri/core/workers/chunks/c8eae00b0ec87d8b2ff3.js +0 -1
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import e from"../core/Error.js";import{sliceDraw as t}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as n}from"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js";import{ObjectAndLayerIdColor as r}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/ObjectAndLayerIdColor.glsl.js";import{OutputHighlight as i}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{mainLightDirection as a,mainLightIntensity as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/lightingUniforms.js";import{NormalUtils as s}from"../views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js";import{readShadowDraw as c}from"../views/3d/webgl-engine/core/shaderLibrary/shading/readShadow.glsl.js";import{WaterColor as l}from"../views/3d/webgl-engine/core/shaderLibrary/shading/WaterColor.glsl.js";import{WaterDistortion as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js";import{viewNormal as d}from"../views/3d/webgl-engine/core/shaderLibrary/util/cameraUniforms.js";import{ColorConversion as f}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{addProjViewLocalOrigin as p,addCameraPosition as m}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float4PassUniform as h}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatPassUniform as g}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as _}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{outputColorHighlightOLID as v}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js";import{ShaderBuilder as y}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as b}from"../webscene/support/AlphaCutoff.js";function x(x){let S=new y,{vertex:C,fragment:w,varyings:T}=S,{output:E,draped:D,receiveShadows:O}=x;p(C,x),S.include(n),S.attributes.add(`position`,`vec3`),S.attributes.add(`uv0`,`vec2`);let k=new h(`waterColor`,e=>e.color);switch(T.add(`vpos`,`vec3`,{invariant:!0}),C.uniforms.add(k),S.include(c,x),E){case 0:case 1:case 2:if(S.include(u),S.include(l,x),S.include(v,x),D)return C.main.add(_`
3
- if (waterColor.a < ${_.float(b)}) {
2
+ import e from"../core/Error.js";import{UNIT_Z as t}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{sliceDraw as n}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as r}from"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js";import{ObjectAndLayerIdColor as i}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/ObjectAndLayerIdColor.glsl.js";import{OutputHighlight as a}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{getLocalUp as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/getLocalUp.glsl.js";import{mainLightDirection as s,mainLightIntensity as c}from"../views/3d/webgl-engine/core/shaderLibrary/shading/lightingUniforms.js";import{NormalUtils as l}from"../views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js";import{readShadowDraw as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/readShadow.glsl.js";import{WaterColor as d}from"../views/3d/webgl-engine/core/shaderLibrary/shading/WaterColor.glsl.js";import{WaterDistortion as f}from"../views/3d/webgl-engine/core/shaderLibrary/shading/WaterDistortion.glsl.js";import{viewNormal as p,localUpView as m}from"../views/3d/webgl-engine/core/shaderLibrary/util/cameraUniforms.js";import{ColorConversion as h}from"../views/3d/webgl-engine/core/shaderLibrary/util/ColorConversion.glsl.js";import{addProjViewLocalOrigin as g,addCameraPosition as _}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float4PassUniform as v}from"../views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js";import{FloatPassUniform as y}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{glsl as b}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{outputColorHighlightOLID as x}from"../views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js";import{ShaderBuilder as S}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as C}from"../webscene/support/AlphaCutoff.js";function w(w){let T=new S,{vertex:E,fragment:D,varyings:O}=T,{output:k,draped:A,receiveShadows:j,spherical:M}=w;g(E,w),T.include(r),T.attributes.add(`position`,`vec3`),T.attributes.add(`uv0`,`vec2`);let N=new v(`waterColor`,e=>e.color);switch(O.add(`vpos`,`vec3`,{invariant:!0}),E.uniforms.add(N),T.include(u,w),k){case 0:case 1:case 2:if(T.include(f),T.include(d,w),T.include(x,w),A)return E.main.add(b`
3
+ if (waterColor.a < ${b.float(C)}) {
4
4
  // Discard this vertex
5
5
  gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
6
6
  return;
@@ -8,8 +8,8 @@ import e from"../core/Error.js";import{sliceDraw as t}from"../views/3d/webgl-eng
8
8
 
9
9
  vpos = position;
10
10
  gl_Position = transformPosition(proj, view, vpos);
11
- `),w.uniforms.add(k),w.main.add(_`fragColor = waterColor;`),S;C.include(s,x),T.add(`vuv`,`vec2`),T.add(`vnormal`,`vec3`),T.add(`vtbnMatrix`,`mat3`),C.main.add(_`
12
- if (waterColor.a < ${_.float(b)}) {
11
+ `),D.uniforms.add(N),D.main.add(b`fragColor = waterColor;`),T;O.add(`vuv`,`vec2`),E.main.add(b`
12
+ if (waterColor.a < ${b.float(C)}) {
13
13
  // Discard this vertex
14
14
  gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
15
15
  return;
@@ -17,26 +17,24 @@ import e from"../core/Error.js";import{sliceDraw as t}from"../views/3d/webgl-eng
17
17
 
18
18
  vuv = uv0;
19
19
  vpos = position;
20
- vnormal = getLocalUp(vpos, localOrigin);
21
- vtbnMatrix = getTBNMatrix(vnormal);
22
-
23
20
  gl_Position = transformPosition(proj, view, vpos);
24
21
  forwardLinearDepthToReadShadow();
25
- `),w.include(t,x),w.include(f),m(w,x),w.uniforms.add(a,o,k,new g(`timeElapsed`,({timeElapsed:e})=>e),C.uniforms.get(`view`),C.uniforms.get(`localOrigin`)).main.add(_`
22
+ `),M?(E.include(l,w),O.add(`upWorld`,`vec3`),O.add(`tbnMatrix`,`mat3`),E.main.add(b`upWorld = getLocalUp(vpos, localOrigin);
23
+ tbnMatrix = getTBNMatrix(upWorld);`)):(D.constants.add(`upWorld`,`vec3`,t),D.main.add(b`mat3 tbnMatrix = mat3(1.0);`)),D.include(n,w),D.include(h),_(D,w),D.uniforms.add(s,c,N,new y(`timeElapsed`,({timeElapsed:e})=>e),E.uniforms.get(`view`),E.uniforms.get(`localOrigin`)).main.add(b`
26
24
  discardBySlice(vpos);
27
25
  // the created normal is in tangent space
28
26
  vec4 tangentNormalFoam = getSurfaceNormalAndFoam(vuv, timeElapsed);
29
27
 
30
28
  // we rotate the normal according to the tangent-bitangent-normal-Matrix
31
- vec3 n = normalize(vtbnMatrix * tangentNormalFoam.xyz);
29
+ vec3 n = normalize(tbnMatrix * tangentNormalFoam.xyz);
32
30
  vec3 v = -normalize(vpos - cameraPosition);
33
- float shadow = ${O?_`1.0 - readShadowMap(vpos)`:`1.0`};
31
+ float shadow = ${j?b`1.0 - readShadowMap(vpos)`:`1.0`};
34
32
  vec4 vPosView = view * vec4(vpos, 1.0);
35
- vec4 final = vec4(getWaterColor(n, v, mainLightDirection, waterColor.rgb, mainLightIntensity, vnormal, shadow, tangentNormalFoam.w, vPosView.xyz, vpos + localOrigin), waterColor.w);
33
+ vec4 final = vec4(getWaterColor(n, v, mainLightDirection, waterColor.rgb, mainLightIntensity, upWorld, shadow, tangentNormalFoam.w, vPosView.xyz, vpos + localOrigin), waterColor.w);
36
34
 
37
35
  fragColor = delinearizeGamma(final);
38
- outputColorHighlightOLID(applySlice(fragColor, vpos), final.rgb);`);break;case 4:S.include(u,x),C.include(s,x),C.main.add(_`
39
- if (waterColor.a < ${_.float(b)}) {
36
+ outputColorHighlightOLID(applySlice(fragColor, vpos), final.rgb);`);break;case 4:T.include(f,w),E.main.add(b`
37
+ if (waterColor.a < ${b.float(C)}) {
40
38
  // Discard this vertex
41
39
  gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
42
40
  return;
@@ -44,10 +42,11 @@ import e from"../core/Error.js";import{sliceDraw as t}from"../views/3d/webgl-eng
44
42
 
45
43
  vpos = position;
46
44
  gl_Position = transformPosition(proj, view, vpos);
47
- `),w.include(t,x),w.main.add(_`discardBySlice(vpos);`),x.drapedNormals?(T.add(`vuv`,`vec2`),C.main.add(`vuv = uv0;`),w.uniforms.add(new g(`timeElapsed`,({timeElapsed:e})=>e)).main.add(_`vec4 tangentNormalFoam = getSurfaceNormalAndFoam(vuv, timeElapsed);
45
+ `),D.include(n,w),D.main.add(b`discardBySlice(vpos);`),w.drapedNormals?(O.add(`vuv`,`vec2`),E.main.add(`vuv = uv0;`),D.uniforms.add(new y(`timeElapsed`,({timeElapsed:e})=>e)).main.add(b`vec4 tangentNormalFoam = getSurfaceNormalAndFoam(vuv, timeElapsed);
48
46
  tangentNormalFoam.xyz = normalize(tangentNormalFoam.xyz);
49
- fragColor = vec4((tangentNormalFoam.xyz + vec3(1.0)) * 0.5, tangentNormalFoam.a);`)):(T.add(`vnormal`,`vec3`),C.uniforms.add(d).main.add(`vnormal = normalize((viewNormal * vec4(getLocalUp(vpos, localOrigin), 1.0)).xyz);`),w.main.add(`fragColor = vec4(vec3(0.5) + 0.5 * vnormal, 1.0);`));break;case 3:C.main.add(_`
50
- if (waterColor.a < ${_.float(b)}) {
47
+ fragColor = vec4((tangentNormalFoam.xyz + vec3(1.0)) * 0.5, tangentNormalFoam.a);`)):M?(E.include(o,w),O.add(`normalView`,`vec3`),E.uniforms.add(p).main.add(b`vec3 upWorld = getLocalUp(vpos, localOrigin);
48
+ normalView = normalize((viewNormal * vec4(upWorld, 1.0)).xyz);`),D.main.add(b`fragColor = vec4(vec3(0.5) + 0.5 * normalView, 1.0);`)):D.uniforms.add(m).main.add(b`fragColor = vec4(vec3(0.5) + 0.5 * localUpView, 1.0);`);break;case 3:E.main.add(b`
49
+ if (waterColor.a < ${b.float(C)}) {
51
50
  // Discard this vertex
52
51
  gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
53
52
  return;
@@ -55,17 +54,17 @@ fragColor = vec4((tangentNormalFoam.xyz + vec3(1.0)) * 0.5, tangentNormalFoam.a)
55
54
 
56
55
  vpos = position;
57
56
  gl_Position = transformPosition(proj, view, vpos);
58
- `),w.include(t,x),w.main.add(`discardBySlice(vpos);`);break;case 10:S.include(i,x),C.main.add(_`
59
- if (waterColor.a < ${_.float(b)}) {
57
+ `),D.include(n,w),D.main.add(`discardBySlice(vpos);`);break;case 10:T.include(a,w),E.main.add(b`
58
+ if (waterColor.a < ${b.float(C)}) {
60
59
  // Discard this vertex
61
60
  gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
62
61
  return;
63
62
  }
64
63
 
65
64
  vpos = position;
66
- gl_Position = transformPosition(proj, view, vpos);`),w.include(t,x),w.main.add(_`discardBySlice(vpos);
67
- calculateOcclusionAndOutputHighlight();`);break;case 11:S.include(r,x),C.main.add(_`
68
- if (waterColor.a < ${_.float(b)}) {
65
+ gl_Position = transformPosition(proj, view, vpos);`),D.include(n,w),D.main.add(b`discardBySlice(vpos);
66
+ calculateOcclusionAndOutputHighlight();`);break;case 11:T.include(i,w),E.main.add(b`
67
+ if (waterColor.a < ${b.float(C)}) {
69
68
  // Discard this vertex
70
69
  gl_Position = vec4(1e38, 1e38, 1e38, 1.0);
71
70
  return;
@@ -73,5 +72,5 @@ calculateOcclusionAndOutputHighlight();`);break;case 11:S.include(r,x),C.main.ad
73
72
 
74
73
  vpos = position;
75
74
  gl_Position = transformPosition(proj, view, vpos);
76
- forwardObjectAndLayerIdColor();`),w.include(t,x),w.main.add(_`discardBySlice(vpos);
77
- outputObjectAndLayerIdColor();`);break;default:throw new e(`shaderbuilder:missing-output`,`Unimplemented shader output ${E} for WaterTechnique`)}return S}const S=Object.freeze(Object.defineProperty({__proto__:null,build:x},Symbol.toStringTag,{value:`Module`}));export{S as W,x as b};
75
+ forwardObjectAndLayerIdColor();`),D.include(n,w),D.main.add(b`discardBySlice(vpos);
76
+ outputObjectAndLayerIdColor();`);break;default:throw new e(`shaderbuilder:missing-output`,`Unimplemented shader output ${k} for WaterTechnique`)}return T}const T=Object.freeze(Object.defineProperty({__proto__:null,build:w},Symbol.toStringTag,{value:`Module`}));export{T as W,w as b};
package/config.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import"./core/has.js";import{deepMerge as e}from"./core/object.js";const t={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}};globalThis.esriConfig&&(e(t,globalThis.esriConfig,!0),delete t.has),t.assetsPath||(t.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@6.0.0-next.27/assets`,t.defaultAssetsPath=t.assetsPath);export{t as default};
2
+ import"./core/has.js";import{deepMerge as e}from"./core/object.js";const t={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}};globalThis.esriConfig&&(e(t,globalThis.esriConfig,!0),delete t.has),t.assetsPath||(t.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@6.0.0-next.28/assets`,t.defaultAssetsPath=t.assetsPath);export{t as default};
@@ -12,13 +12,13 @@ export interface DynamicChoiceInputProperties extends SingleChoiceInputPropertie
12
12
  *
13
13
  * @since 5.2
14
14
  * @see [FieldElement](https://developers.arcgis.com/javascript/latest/references/core/form/elements/FieldElement/)
15
- * @see [Sample - Edit features with dynamic choices ](https://developers.arcgis.com/javascript/latest/sample-code/editor-dynamic-choices/)
15
+ * @see [Sample - Edit features with dynamic choices](https://developers.arcgis.com/javascript/latest/sample-code/editor-dynamic-choices/)
16
16
  * @example
17
17
  * // Creates a new dynamic choice input for a field element within a form
18
18
  * const dynamicChoiceInput = new DynamicChoiceInput({
19
19
  * choiceExpression: dynamicChoiceExpression.name, // reference to the defined expression
20
20
  * noValueOptionLabel: "No Value (null)", // label for the option representing a null value
21
- * showNoValueOption: false, // whether to display the choice representing a null value (ie. "No Value")
21
+ * showNoValueOption: false, // whether to display the choice representing a null value (i.e., "No Value")
22
22
  * });
23
23
  */
24
24
  export default class DynamicChoiceInput extends SingleChoiceInput {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Performs a relational operation to determine if one 2D geometry contains another 2D geometry.
3
- * Geometry A contains geometry B, when B is the intersection of A and B.
3
+ * Geometry A contains geometry B when B is the intersection of A and B.
4
4
  * A contains B is equivalent to B within A. Geometry B can be non-simple geometry.
5
5
  *
6
6
  * ![Contains operator](https://developers.arcgis.com/javascript/latest/assets/references/core/operators/contains.avif "Contains operator")
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Densifies 2D geometries by length, deviation and/or angle in a 2D plane. The result geometry contains segments less than or equal to `maxSegementLength`, and it will not contain curves.
2
+ * Densifies 2D geometries by length, deviation and/or angle in a 2D plane. The result geometry contains segments less than or equal to `maxSegmentLength`, and it will not contain curves.
3
3
  * The piecewise approximation of curves will be within the specified deviation from the original curve,
4
4
  * and the angle between tangent segments does not exceed the specified value.
5
5
  *
@@ -36,18 +36,19 @@ export function differenceExecute(geometry: GeometryUnion, subtractor: GeometryU
36
36
  export function execute(geometry: GeometryUnion, subtractor: GeometryUnion): GeometryWithoutMeshUnion | null | undefined;
37
37
 
38
38
  /**
39
- * Performs the Topological difference operation on the geometry set.
39
+ * Performs the topological difference operation on the geometry set.
40
40
  *
41
41
  * @param geometries - The set of geometry instances to be subtracted by the `subtractor`.
42
42
  * All the geometries must have the same spatial reference.
43
43
  * @param subtractor - The geometry on the right-hand side being subtracted.
44
- * @returns Returns an array whose elements are the result of subtracting each input geometry from `geometries`, or null. The result has the dimensions of the `geometries`.
44
+ * @returns Returns an array whose elements are the result of subtracting `subtractor` from each input geometry in `geometries`.
45
+ * Individual entries may be `null` or `undefined`. Each result has the dimensions of its corresponding input geometry.
45
46
  * @since 5.2
46
47
  */
47
48
  export function differenceExecuteMany(geometries: GeometryUnion[], subtractor: GeometryUnion): (GeometryWithoutMeshUnion | null | undefined)[];
48
49
 
49
50
  /**
50
- * Performs the Topological difference operation on the geometry set.
51
+ * Performs the topological difference operation on the geometry set.
51
52
  *
52
53
  * @deprecated
53
54
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
@@ -55,7 +56,8 @@ export function differenceExecuteMany(geometries: GeometryUnion[], subtractor: G
55
56
  * @param geometries - An array of geometries.
56
57
  * All the geometries must have the same spatial reference.
57
58
  * @param subtractor - The geometry to be subtracted from each and every geometry in `geometries`.
58
- * @returns An array of computed geometries. The size of the array will be equivalent to the size of `geometries`.
59
+ * @returns Returns an array whose elements are the result of subtracting `subtractor` from each input geometry in `geometries`.
60
+ * Individual entries may be `null` or `undefined`. Each result has the dimensions of its corresponding input geometry.
59
61
  */
60
62
  export function executeMany(geometries: GeometryUnion[], subtractor: GeometryUnion): (GeometryWithoutMeshUnion | null | undefined)[];
61
63
 
@@ -49,7 +49,7 @@ export function distanceExecute(geometry1: GeometryUnion, geometry2: GeometryUni
49
49
  * @param geometry1 - The first input geometry.
50
50
  * @param geometry2 - The second input geometry.
51
51
  * @param options - Additional options.
52
- * @returns The distance between the two geometries. Will return NaN if either input geometries are empty.
52
+ * @returns The distance between the two geometries. Will return NaN if either input geometry is empty.
53
53
  * @example
54
54
  * // Calculate the planar distance between two points
55
55
  * const distance = distanceExecute(point1, point2);
@@ -109,7 +109,7 @@ export function load(): Promise<void>;
109
109
 
110
110
  /**
111
111
  * Returns the nearest coordinate on the geometry to the given input point.
112
- * The operator interprets all segments in the shape preserving manner, that is it treats segments as if they are densified with a small step in the input spatial reference and then the calculation is performed geodesicly.
112
+ * The operator interprets all segments in a shape-preserving manner, that is, it treats segments as if they are densified with a small step in the input spatial reference and then the calculation is performed geodesically.
113
113
  *
114
114
  * @param geometry - The input geometry.
115
115
  * @param point - The point used to search for the nearest coordinate in `geometry`.
@@ -128,7 +128,7 @@ export function geodesicProximityGetNearestCoordinate(geometry: GeometryUnion, p
128
128
 
129
129
  /**
130
130
  * Returns the nearest coordinate on the geometry to the given input point.
131
- * The operator interprets all segments in the shape preserving manner, that is it treats segments as if they are densified with a small step in the input spatial reference and then the calculation is performed geodesicly.
131
+ * The operator interprets all segments in a shape-preserving manner, that is, it treats segments as if they are densified with a small step in the input spatial reference and then the calculation is performed geodesically.
132
132
  *
133
133
  * @deprecated
134
134
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
@@ -151,7 +151,7 @@ export function getNearestCoordinate(geometry: GeometryUnion, point: Point, opti
151
151
  * Returns the nearest vertex on the geometry.
152
152
  *
153
153
  * @param geometry - The input geometry.
154
- * @param point - The point used to search for the nearest coordinate in the input `geometry`.
154
+ * @param point - The point used to search for the nearest vertex in the input `geometry`.
155
155
  * @param options - Additional options.
156
156
  * @returns Returns the result of proximity operation.
157
157
  * @since 5.2
@@ -172,7 +172,7 @@ export function geodesicProximityGetNearestVertex(geometry: GeometryUnion, point
172
172
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
173
173
  * with [geodesicProximityGetNearestVertex()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodesicProximityOperator/#geodesicProximityGetNearestVertex).
174
174
  * @param geometry - The input geometry.
175
- * @param point - The point used to search for the nearest coordinate in the input `geometry`.
175
+ * @param point - The point used to search for the nearest vertex in the input `geometry`.
176
176
  * @param options - Additional options.
177
177
  * @returns Returns the result of proximity operation.
178
178
  * @example
@@ -189,13 +189,13 @@ export function getNearestVertex(geometry: GeometryUnion, point: Point, options?
189
189
  * Returns vertices of the geometry that are closer to the given point than the given radius.
190
190
  *
191
191
  * @param geometry - The input geometry.
192
- * @param point - The point used to search for the nearest coordinate in `geometry`.
192
+ * @param point - The point used to search for the nearest vertices in `geometry`.
193
193
  * @param searchRadius - The distance to search from the `point` to the nearest vertices in the `geometry`.
194
194
  * Unless the `unit` option is set, the default is meters.
195
195
  * @param maxVertexCountToReturn - The maximum number of vertices that will be returned. Must be a positive number.
196
196
  * @param options - Additional options.
197
197
  * @returns The array of vertices that are in the given search radius to the point.
198
- * The array is sorted by distance to the queryPoint with the closest point first.
198
+ * The array is sorted by distance to the query point, with the closest vertex first.
199
199
  * When there are more than the `maxVertexCountToReturn` vertices to return, it returns the closest vertices.
200
200
  * The array will be empty when `geometry` is empty.
201
201
  * @since 5.2
@@ -216,13 +216,13 @@ export function geodesicProximityGetNearestVertices(geometry: GeometryUnion, poi
216
216
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
217
217
  * with [geodesicProximityGetNearestVertices()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodesicProximityOperator/#geodesicProximityGetNearestVertices).
218
218
  * @param geometry - The input geometry.
219
- * @param point - The point used to search for the nearest coordinate in `geometry`.
219
+ * @param point - The point used to search for the nearest vertices in `geometry`.
220
220
  * @param searchRadius - The distance to search from the `point` to the nearest vertices in the `geometry`.
221
221
  * Unless the `unit` option is set, the default is meters.
222
222
  * @param maxVertexCountToReturn - The maximum number of vertices that will be returned. Must be a positive number.
223
223
  * @param options - Additional options.
224
224
  * @returns The array of vertices that are in the given search radius to the point.
225
- * The array is sorted by distance to the queryPoint with the closest point first.
225
+ * The array is sorted by distance to the query point, with the closest vertex first.
226
226
  * When there are more than the `maxVertexCountToReturn` vertices to return, it returns the closest vertices.
227
227
  * The array will be empty when `geometry` is empty.
228
228
  * @example
@@ -67,8 +67,8 @@ export type Options = GraphicBufferOptions;
67
67
  * * Miter joins are replaced with bevel when the ratio of the miter thickness to the buffer distance is greater than miter limit. The miter thickness is the distance from the vertex to the mitered corner of the buffer that this vertex generates.
68
68
  * @param caps - Defines the buffer's shape at the end points of the geometries.
69
69
  * * Points with square caps will be drawn as squares.
70
- * * Open polylines paths with square caps degenerate to a point and will be drawn as squares (degenerate with zero tolerance).
71
- * * Open polylines paths with round caps degenerate to a point and will be drawn as circles (degenerate with zero tolerance).
70
+ * * Open polyline paths with square caps degenerate to a point and will be drawn as squares (degenerate with zero tolerance).
71
+ * * Open polyline paths with round caps degenerate to a point and will be drawn as circles (degenerate with zero tolerance).
72
72
  * @param options - Additional options.
73
73
  * @returns Returns the buffered geometries.
74
74
  * @since 5.2
@@ -79,7 +79,7 @@ export type Options = GraphicBufferOptions;
79
79
  * [1000, 1500],
80
80
  * "square",
81
81
  * "round",
82
- * 10,
82
+ * { miterLimit: 10 },
83
83
  * );
84
84
  */
85
85
  export function graphicBufferExecuteMany(geometries: GeometryUnion[], distances: number[], joins: "round" | "miter" | "bevel", caps: "round" | "butt" | "square", options?: GraphicBufferOptions): Polygon[];
@@ -102,8 +102,8 @@ export function graphicBufferExecuteMany(geometries: GeometryUnion[], distances:
102
102
  * * Miter joins are replaced with bevel when the ratio of the miter thickness to the buffer distance is greater than miter limit. The miter thickness is the distance from the vertex to the mitered corner of the buffer that this vertex generates.
103
103
  * @param caps - Defines the buffer's shape at the end points of the geometries.
104
104
  * * Points with square caps will be drawn as squares.
105
- * * Open polylines paths with square caps degenerate to a point and will be drawn as squares (degenerate with zero tolerance).
106
- * * Open polylines paths with round caps degenerate to a point and will be drawn as circles (degenerate with zero tolerance).
105
+ * * Open polyline paths with square caps degenerate to a point and will be drawn as squares (degenerate with zero tolerance).
106
+ * * Open polyline paths with round caps degenerate to a point and will be drawn as circles (degenerate with zero tolerance).
107
107
  * @param options - Additional options.
108
108
  * @returns Returns the buffered geometries.
109
109
  * @example
@@ -113,7 +113,7 @@ export function graphicBufferExecuteMany(geometries: GeometryUnion[], distances:
113
113
  * [1000, 1500],
114
114
  * "square",
115
115
  * "round",
116
- * 10,
116
+ * { miterLimit: 10 },
117
117
  * );
118
118
  */
119
119
  export function executeMany(geometries: GeometryUnion[], distances: number[], joins: "round" | "miter" | "bevel", caps: "round" | "butt" | "square", options?: GraphicBufferOptions): Polygon[];
@@ -14,7 +14,7 @@ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
14
14
  *
15
15
  * @param geometries - The set of geometries to integrate.
16
16
  * All the geometries must have the same spatial reference.
17
- * @returns Returns the result of the subtraction.
17
+ * @returns Returns the result of the integration.
18
18
  * The operation filters out degenerate segments and returns `null` for empty geometries.
19
19
  * @since 5.2
20
20
  * @example
@@ -31,7 +31,7 @@ export function integrateExecuteMany(geometries: GeometryUnion[]): (GeometryWith
31
31
  * with [integrateExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/integrateOperator/#integrateExecuteMany).
32
32
  * @param geometries - The set of geometries to integrate.
33
33
  * All the geometries must have the same spatial reference.
34
- * @returns Returns the result of the subtraction.
34
+ * @returns Returns the result of the integration.
35
35
  * The operation filters out degenerate segments and returns `null` for empty geometries.
36
36
  * @example
37
37
  * // Integrate a set of geometries
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Performs a relational operation to determine if one 2D geometry intersects another 2D geometry.
3
- * Intersect is same as not disjoint.
3
+ * Intersects is the same as not being disjoint.
4
4
  * This operator can be used with non-simple geometries.
5
5
  *
6
6
  * ![Intersects operator](https://developers.arcgis.com/javascript/latest/assets/references/core/operators/intersects.avif "Intersects operator")
@@ -30,7 +30,7 @@ export function intersectsAccelerateGeometry(geometry: GeometryUnion): boolean;
30
30
  export function accelerateGeometry(geometry: GeometryUnion): boolean;
31
31
 
32
32
  /**
33
- * Perform a intersects operation on two geometries.
33
+ * Performs the intersects operation on two geometries.
34
34
  *
35
35
  * @param geometry1 - The geometry that is tested for the intersects relationship to `geometry2`.
36
36
  * @param geometry2 - The geometry being intersected.
@@ -43,7 +43,7 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
43
43
  export function intersectsExecute(geometry1: GeometryUnion, geometry2: GeometryUnion): boolean;
44
44
 
45
45
  /**
46
- * Perform a intersects operation on two geometries.
46
+ * Performs the intersects operation on two geometries.
47
47
  *
48
48
  * @deprecated
49
49
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
@@ -11,7 +11,7 @@ import type { GeometryUnion } from "../types.js";
11
11
  *
12
12
  * @param geometries - The set of input geometries.
13
13
  * All the geometries must have the same spatial reference.
14
- * @returns Returns the result of polygons.
14
+ * @returns Returns the resulting polygons.
15
15
  * @since 5.2
16
16
  * @example
17
17
  * // Perform the lines to polygons operation
@@ -27,7 +27,7 @@ export function linesToPolygonsExecuteMany(geometries: GeometryUnion[]): Polygon
27
27
  * with [linesToPolygonsExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/linesToPolygonsOperator/#linesToPolygonsExecuteMany).
28
28
  * @param geometries - The set of input geometries.
29
29
  * All the geometries must have the same spatial reference.
30
- * @returns Returns the result of polygons.
30
+ * @returns Returns the resulting polygons.
31
31
  * @example
32
32
  * // Perform the lines to polygons operation
33
33
  * const polygons = linesToPolygonsExecuteMany([polyline1, polyline2]);
@@ -18,7 +18,7 @@ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
18
18
  * All the geometries must have the same spatial reference.
19
19
  * @param startM - The M value to start the operation.
20
20
  * @param endM - The M value to end the operation.
21
- * @returns Returns the result of geometries.
21
+ * @returns Returns the resulting geometries.
22
22
  * For 1-dimensional geometries, the result could be either point, multipoint, or polyline.
23
23
  * For polylines, the result can be both polyline and multipoint.
24
24
  * @since 5.2
@@ -39,7 +39,7 @@ export function locateBetweenExecuteMany(geometries: GeometryUnion[], startM: nu
39
39
  * All the geometries must have the same spatial reference.
40
40
  * @param startM - The M value to start the operation.
41
41
  * @param endM - The M value to end the operation.
42
- * @returns Returns the result of geometries.
42
+ * @returns Returns the resulting geometries.
43
43
  * For 1-dimensional geometries, the result could be either point, multipoint, or polyline.
44
44
  * For polylines, the result can be both polyline and multipoint.
45
45
  * @example
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Create a minimum bounding circle for the input geometry.
3
3
  * The output is a polygon with a single closed circular segment containing curves.
4
- * Implements the Welzl's algorithm using greedy heuristic with expected O(n) time complexity.
4
+ * Implements Welzl's algorithm using a greedy heuristic with expected O(n) time complexity.
5
5
  *
6
6
  * > [!WARNING]
7
7
  * >
@@ -34,7 +34,7 @@ export type Options = MultiPartToSinglePartOptions;
34
34
  * All the geometries must have the same spatial reference.
35
35
  * @param options - Additional options.
36
36
  * @returns Returns the single part geometries.
37
- * For non-simple polygons, the output of the method is not guaranteed to be correct if the `simplifyPolgons` option is set to `false`.
37
+ * For non-simple polygons, the output of the method is not guaranteed to be correct if the `simplifyPolygons` option is set to `false`.
38
38
  * In that case, the method may either throw an error, or produce some output which is not guaranteed to be correct.
39
39
  * @since 5.2
40
40
  * @example
@@ -55,7 +55,7 @@ export function multiPartToSinglePartExecuteMany(geometries: GeometryUnion[], op
55
55
  * All the geometries must have the same spatial reference.
56
56
  * @param options - Additional options.
57
57
  * @returns Returns the single part geometries.
58
- * For non-simple polygons, the output of the method is not guaranteed to be correct if the `simplifyPolgons` option is set to `false`.
58
+ * For non-simple polygons, the output of the method is not guaranteed to be correct if the `simplifyPolygons` option is set to `false`.
59
59
  * In that case, the method may either throw an error, or produce some output which is not guaranteed to be correct.
60
60
  * @example
61
61
  * // Convert multipart geometries to single part geometries
@@ -45,7 +45,7 @@ export type FindSlicesByAreaOptions = PolygonSlicerFindSlicesByAreaOptions;
45
45
  *
46
46
  * @param polygon - The input polygon.
47
47
  * @param partCount - The number of parts to slice into.
48
- * @param remainingArea - The size of the remaining piece of the uncut polygon. Pass zero, if you want to slice the whole polygon.
48
+ * @param remainingArea - The size of the remaining piece of the uncut polygon. Pass zero if you want to slice the whole polygon.
49
49
  * Unless the `unit` option is set, the default is the spatial reference unit of `polygon`.
50
50
  * @param options - Additional options.
51
51
  * @returns Returns the y-coordinate set for the slice positions sorted in increasing y-order. The set can be used as input to the
@@ -65,7 +65,7 @@ export function polygonSlicerFindSlicesByArea(polygon: Polygon, partCount: numbe
65
65
  * with [polygonSlicerFindSlicesByArea()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerFindSlicesByArea).
66
66
  * @param polygon - The input polygon.
67
67
  * @param partCount - The number of parts to slice into.
68
- * @param remainingArea - The size of the remaining piece of the uncut polygon. Pass zero, if you want to slice the whole polygon.
68
+ * @param remainingArea - The size of the remaining piece of the uncut polygon. Pass zero if you want to slice the whole polygon.
69
69
  * Unless the `unit` option is set, the default is the spatial reference unit of `polygon`.
70
70
  * @param options - Additional options.
71
71
  * @returns Returns the y-coordinate set for the slice positions sorted in increasing y-order. The set can be used as input to the
@@ -135,7 +135,7 @@ export function execute(geometry: GeometryUnion, outSpatialReference: SpatialRef
135
135
  * All the geometries must have the same spatial reference.
136
136
  * @param outSpatialReference - The spatial reference to which the input geometry is projected.
137
137
  * @param options - Additional options.
138
- * @returns Returns the projected geometries or null.
138
+ * @returns Returns an array of projected geometries, and individual entries may be `null` or `undefined`.
139
139
  * @since 5.2
140
140
  */
141
141
  export function projectExecuteMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: ProjectOptions): (GeometryWithoutMeshUnion | null | undefined)[];
@@ -150,7 +150,7 @@ export function projectExecuteMany(geometries: GeometryUnion[], outSpatialRefere
150
150
  * All the geometries must have the same spatial reference.
151
151
  * @param outSpatialReference - The spatial reference to which the input geometry is projected.
152
152
  * @param options - Additional options.
153
- * @returns Returns the projected geometries or null.
153
+ * @returns Returns an array of projected geometries, and individual entries may be `null` or `undefined`.
154
154
  */
155
155
  export function executeMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: ProjectOptions): (GeometryWithoutMeshUnion | null | undefined)[];
156
156
 
@@ -60,7 +60,7 @@ export type GetNearestCoordinateOptions = ProximityGetNearestCoordinateOptions;
60
60
  * @param geometry - The input geometry.
61
61
  * @param point - The point used to search for the nearest coordinate in `geometry`.
62
62
  * @param options - Additional options.
63
- * @returns Returns the proximity result which contains the nearest coordinate on the input `geometry` to the given `inputPoint`.
63
+ * @returns Returns the proximity result which contains the nearest coordinate on the input `geometry` to the given `point`.
64
64
  * @since 5.2
65
65
  * @example
66
66
  * // Return the nearest result on a polygon to the given point
@@ -77,7 +77,7 @@ export function proximityGetNearestCoordinate(geometry: GeometryUnion, point: Po
77
77
  * @param geometry - The input geometry.
78
78
  * @param point - The point used to search for the nearest coordinate in `geometry`.
79
79
  * @param options - Additional options.
80
- * @returns Returns the proximity result which contains the nearest coordinate on the input `geometry` to the given `inputPoint`.
80
+ * @returns Returns the proximity result which contains the nearest coordinate on the input `geometry` to the given `point`.
81
81
  * @example
82
82
  * // Return the nearest result on a polygon to the given point
83
83
  * const proximityResult = proximityGetNearestCoordinate(polygon, point);
@@ -88,13 +88,13 @@ export function getNearestCoordinate(geometry: GeometryUnion, point: Point, opti
88
88
  * Returns the nearest vertex on the geometry.
89
89
  *
90
90
  * @param geometry - The input geometry.
91
- * @param point - The point used to search for the nearest coordinate in the input `geometry`.
91
+ * @param point - The point used to search for the nearest vertex in the input `geometry`.
92
92
  * @param options - Additional options.
93
- * @returns Returns the proximity result which contains the nearest vertex on the `geometry` to the given `inputPoint`.
93
+ * @returns Returns the proximity result which contains the nearest vertex on the `geometry` to the given `point`.
94
94
  * @since 5.2
95
95
  * @example
96
96
  * // Return the nearest vertex on a polygon to the given point
97
- * const proximityResult = proximityGetNearestCoordinate(polygon, point);
97
+ * const proximityResult = proximityGetNearestVertex(polygon, point);
98
98
  */
99
99
  export function proximityGetNearestVertex(geometry: GeometryUnion, point: Point, options?: ProximityOptions): ProximityResult;
100
100
 
@@ -105,9 +105,9 @@ export function proximityGetNearestVertex(geometry: GeometryUnion, point: Point,
105
105
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
106
106
  * with [proximityGetNearestVertex()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertex).
107
107
  * @param geometry - The input geometry.
108
- * @param point - The point used to search for the nearest coordinate in the input `geometry`.
108
+ * @param point - The point used to search for the nearest vertex in the input `geometry`.
109
109
  * @param options - Additional options.
110
- * @returns Returns the proximity result which contains the nearest vertex on the `geometry` to the given `inputPoint`.
110
+ * @returns Returns the proximity result which contains the nearest vertex on the `geometry` to the given `point`.
111
111
  * @example
112
112
  * // Return the nearest vertex on a polygon to the given point
113
113
  * const proximityResult = proximityGetNearestVertex(polygon, point);
@@ -118,13 +118,13 @@ export function getNearestVertex(geometry: GeometryUnion, point: Point, options?
118
118
  * Returns vertices of the geometry that are closer to the given point than the given radius.
119
119
  *
120
120
  * @param geometry - The input geometry.
121
- * @param point - The point used to search for the nearest coordinate in `geometry`.
122
- * @param searchRadius - The planar distance from the `inputPoint` to search for vertices.
121
+ * @param point - The point used to search for the nearest vertices in `geometry`.
122
+ * @param searchRadius - The planar distance from the `point` to search for vertices.
123
123
  * Unless the `unit` option is set, the default is the geometry's spatial reference unit.
124
124
  * @param maxVertexCountToReturn - The maximum number of vertices that will be returned. Must be a positive number.
125
125
  * @param options - Additional options.
126
- * @returns Returns an array of proximity results which contain the nearest vertices on `geometry` to the given `inputPoint` that are less than or equal to the planar distance of search radius.
127
- * The array is sorted by distance to the `inputPoint` with the closest point first.
126
+ * @returns Returns an array of proximity results which contain the nearest vertices on `geometry` to the given `point` that are less than or equal to the planar distance of search radius.
127
+ * The array is sorted by distance to the query point, with the closest vertex first.
128
128
  * When there are more than the `maxVertexCountToReturn` vertices to return, it returns the closest vertices.
129
129
  * The array will be empty when `geometry` is empty.
130
130
  * @since 5.2
@@ -141,13 +141,13 @@ export function proximityGetNearestVertices(geometry: GeometryUnion, point: Poin
141
141
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
142
142
  * with [proximityGetNearestVertices()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertices).
143
143
  * @param geometry - The input geometry.
144
- * @param point - The point used to search for the nearest coordinate in `geometry`.
145
- * @param searchRadius - The planar distance from the `inputPoint` to search for vertices.
144
+ * @param point - The point used to search for the nearest vertices in `geometry`.
145
+ * @param searchRadius - The planar distance from the `point` to search for vertices.
146
146
  * Unless the `unit` option is set, the default is the geometry's spatial reference unit.
147
147
  * @param maxVertexCountToReturn - The maximum number of vertices that will be returned. Must be a positive number.
148
148
  * @param options - Additional options.
149
- * @returns Returns an array of proximity results which contain the nearest vertices on `geometry` to the given `inputPoint` that are less than or equal to the planar distance of search radius.
150
- * The array is sorted by distance to the `inputPoint` with the closest point first.
149
+ * @returns Returns an array of proximity results which contain the nearest vertices on `geometry` to the given `point` that are less than or equal to the planar distance of search radius.
150
+ * The array is sorted by distance to the query point, with the closest vertex first.
151
151
  * When there are more than the `maxVertexCountToReturn` vertices to return, it returns the closest vertices.
152
152
  * The array will be empty when `geometry` is empty.
153
153
  * @example
@@ -161,7 +161,7 @@ export function execute(geometry: GeometryUnion, outSpatialReference: SpatialRef
161
161
  * All the geometries must have the same spatial reference.
162
162
  * @param outSpatialReference - The spatial reference to which the input geometries are projected.
163
163
  * @param options - Additional options.
164
- * @returns Returns the projected geometries or null.
164
+ * @returns Returns an array of projected geometries, and individual entries may be `null` or `undefined`.
165
165
  * @since 5.2
166
166
  */
167
167
  export function shapePreservingProjectExecuteMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: ShapePreservingProjectOptions): (GeometryWithoutMeshUnion | null | undefined)[];
@@ -176,7 +176,7 @@ export function shapePreservingProjectExecuteMany(geometries: GeometryUnion[], o
176
176
  * All the geometries must have the same spatial reference.
177
177
  * @param outSpatialReference - The spatial reference to which the input geometries are projected.
178
178
  * @param options - Additional options.
179
- * @returns Returns the projected geometries or null.
179
+ * @returns Returns an array of projected geometries, and individual entries may be `null` or `undefined`.
180
180
  */
181
181
  export function executeMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: ShapePreservingProjectOptions): (GeometryWithoutMeshUnion | null | undefined)[];
182
182
 
@@ -41,7 +41,7 @@ export function execute(geometry: GeometryUnion): GeometryWithoutMeshUnion | nul
41
41
  /**
42
42
  * Performs the simplify operation on the geometry set.
43
43
  *
44
- * @param geometries - The array of geometries to be simplified,
44
+ * @param geometries - The array of geometries to be simplified.
45
45
  * All the geometries must have the same spatial reference.
46
46
  * @returns Returns an array whose elements may either be simplified geometries or null.
47
47
  * @since 5.2
@@ -54,7 +54,7 @@ export function simplifyExecuteMany(geometries: GeometryUnion[]): (GeometryWitho
54
54
  * @deprecated
55
55
  * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
56
56
  * with [simplifyExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifyExecuteMany).
57
- * @param geometries - The array of geometries to be simplified,
57
+ * @param geometries - The array of geometries to be simplified.
58
58
  * All the geometries must have the same spatial reference.
59
59
  * @returns Returns an array whose elements may either be simplified geometries or null.
60
60
  */