@arcgis/core 5.0.0-next.58 → 5.0.0-next.59

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 (279) hide show
  1. package/Graphic.d.ts +2 -2
  2. package/Viewpoint.d.ts +1 -1
  3. package/applications/Urban/meshUtils.d.ts +2 -2
  4. package/arcade.d.ts +1 -1
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/0bd73a66baea2f52e8a6.js +1 -0
  7. package/assets/esri/core/workers/chunks/262c5794650853457acc.js +1 -0
  8. package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +1 -0
  9. package/assets/esri/core/workers/chunks/{5f9e64f00329cb646f0c.js → 741d170187e58e81584d.js} +1 -1
  10. package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
  11. package/assets/esri/themes/base/widgets/_Attribution.scss +2 -2
  12. package/assets/esri/themes/dark/main.css +1 -1
  13. package/assets/esri/themes/light/main.css +1 -1
  14. package/assets/esri/themes/light/view.css +1 -1
  15. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  16. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  17. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  18. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  19. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  20. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  21. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  22. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  23. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  24. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  25. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  26. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  27. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  28. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  29. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  30. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  31. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  32. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  33. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  34. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  35. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  36. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  37. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  38. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  39. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  40. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  41. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  42. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  43. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  44. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  45. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  46. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  47. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  48. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  49. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  50. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  51. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  52. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  53. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  54. package/chunks/lerc-wasm.js +1 -1
  55. package/config.js +1 -1
  56. package/geometry/Extent.d.ts +1 -1
  57. package/geometry/Mesh.d.ts +2 -2
  58. package/geometry/SpatialReference.js +1 -1
  59. package/geometry/geometryEngine.d.ts +3 -3
  60. package/geometry/{geometryEngineInterfaces.d.ts → geometryEngineTypes.d.ts} +1 -1
  61. package/geometry/operators/affineTransformOperator.d.ts +3 -3
  62. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  63. package/geometry/operators/areaOperator.d.ts +1 -1
  64. package/geometry/operators/boundaryOperator.d.ts +3 -3
  65. package/geometry/operators/bufferOperator.d.ts +1 -1
  66. package/geometry/operators/centroidOperator.d.ts +1 -1
  67. package/geometry/operators/clipOperator.d.ts +3 -3
  68. package/geometry/operators/containsOperator.d.ts +1 -1
  69. package/geometry/operators/convexHullOperator.d.ts +3 -3
  70. package/geometry/operators/crossesOperator.d.ts +1 -1
  71. package/geometry/operators/cutOperator.d.ts +2 -2
  72. package/geometry/operators/densifyOperator.d.ts +3 -3
  73. package/geometry/operators/differenceOperator.d.ts +3 -3
  74. package/geometry/operators/disjointOperator.d.ts +1 -1
  75. package/geometry/operators/distanceOperator.d.ts +1 -1
  76. package/geometry/operators/equalsOperator.d.ts +1 -1
  77. package/geometry/operators/generalizeOperator.d.ts +3 -3
  78. package/geometry/operators/geodesicBufferOperator.d.ts +1 -2
  79. package/geometry/operators/geodesicProximityOperator.d.ts +2 -5
  80. package/geometry/operators/geodeticAreaOperator.d.ts +1 -2
  81. package/geometry/operators/geodeticDensifyOperator.d.ts +3 -4
  82. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -2
  83. package/geometry/operators/geodeticLengthOperator.d.ts +1 -2
  84. package/geometry/operators/geodeticUtilsOperator.d.ts +1 -1
  85. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  86. package/geometry/operators/integrateOperator.d.ts +2 -2
  87. package/geometry/operators/intersectionOperator.d.ts +3 -3
  88. package/geometry/operators/intersectsOperator.d.ts +1 -1
  89. package/geometry/operators/isNearOperator.d.ts +1 -1
  90. package/geometry/operators/labelPointOperator.d.ts +1 -1
  91. package/geometry/operators/lengthOperator.d.ts +1 -1
  92. package/geometry/operators/linesToPolygonsOperator.d.ts +1 -1
  93. package/geometry/operators/locateBetweenOperator.d.ts +2 -2
  94. package/geometry/operators/minimumBoundingCircleOperator.d.ts +1 -1
  95. package/geometry/operators/multiPartToSinglePartOperator.d.ts +2 -2
  96. package/geometry/operators/offsetOperator.d.ts +3 -3
  97. package/geometry/operators/overlapsOperator.d.ts +1 -1
  98. package/geometry/operators/projectOperator.d.ts +4 -6
  99. package/geometry/operators/proximityOperator.d.ts +2 -2
  100. package/geometry/operators/relateOperator.d.ts +1 -1
  101. package/geometry/operators/shapePreservingProjectOperator.d.ts +3 -3
  102. package/geometry/operators/simplifyOGCOperator.d.ts +3 -3
  103. package/geometry/operators/simplifyOperator.d.ts +3 -3
  104. package/geometry/operators/symmetricDifferenceOperator.d.ts +3 -3
  105. package/geometry/operators/touchesOperator.d.ts +1 -1
  106. package/geometry/operators/{support/proximityResult.d.ts → types.d.ts} +18 -3
  107. package/geometry/operators/unionOperator.d.ts +3 -3
  108. package/geometry/operators/withinOperator.d.ts +1 -1
  109. package/geometry/support/geodesicUtils.d.ts +15 -2
  110. package/geometry/support/jsonUtils.d.ts +1 -1
  111. package/geometry/support/meshUtils/types.d.ts +34 -0
  112. package/geometry/support/meshUtils.d.ts +4 -7
  113. package/geometry/support/webMercatorUtils.d.ts +1 -1
  114. package/geometry/types.d.ts +23 -1
  115. package/geometry.d.ts +1 -1
  116. package/interfaces.d.ts +69 -72
  117. package/kernel.js +1 -1
  118. package/layers/CSVLayer.d.ts +0 -2
  119. package/layers/CatalogLayer.d.ts +1 -1
  120. package/layers/FeatureLayer.d.ts +1 -1
  121. package/layers/GeoJSONLayer.d.ts +1 -1
  122. package/layers/OGCFeatureLayer.d.ts +1 -1
  123. package/layers/OrientedImageryLayer.d.ts +1 -3
  124. package/layers/ParquetLayer.d.ts +1 -1
  125. package/layers/WFSLayer.d.ts +1 -1
  126. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  127. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
  128. package/layers/mixins/APIKeyMixin.d.ts +2 -2
  129. package/layers/mixins/ArcGISImageService.d.ts +4 -3
  130. package/layers/mixins/BlendLayer.d.ts +16 -15
  131. package/layers/mixins/DisplayFilteredLayer.d.ts +6 -3
  132. package/layers/mixins/FeatureEffectLayer.d.ts +23 -21
  133. package/layers/mixins/FeatureLayerBase.d.ts +23 -20
  134. package/layers/mixins/ImageryTileMixin.d.ts +5 -5
  135. package/layers/mixins/PortalLayer.d.ts +7 -7
  136. package/layers/mixins/RasterPresetRendererMixin.d.ts +6 -3
  137. package/layers/mixins/SceneService.d.ts +2 -2
  138. package/layers/mixins/TemporalLayer.d.ts +8 -7
  139. package/layers/mixins/TemporalSceneLayer.d.ts +2 -2
  140. package/layers/mixins/TrackableLayer.d.ts +4 -4
  141. package/layers/ogc/wfsUtils.d.ts +1 -1
  142. package/layers/raster/formats/Lerc.js +1 -1
  143. package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +2 -2
  144. package/layers/support/DisplayFilterInfo.d.ts +7 -7
  145. package/layers/support/FeatureReductionCluster.d.ts +5 -5
  146. package/layers/support/FieldsIndex.d.ts +1 -2
  147. package/layers/support/RasterBandInfo.d.ts +1 -1
  148. package/layers/support/RasterInfo.d.ts +2 -2
  149. package/layers/support/RasterSensorInfo.d.ts +1 -1
  150. package/layers/support/Sublayer.d.ts +3 -3
  151. package/layers/support/SubtypeSublayer.d.ts +1 -1
  152. package/layers/support/TrackInfo.d.ts +2 -2
  153. package/layers/support/arcgisLayerUrl.js +1 -1
  154. package/layers/support/fieldUtils.d.ts +0 -1
  155. package/layers/support/source/QueryTableDataSource.d.ts +2 -2
  156. package/layers/support/types.d.ts +2 -2
  157. package/layers/types.d.ts +1 -1
  158. package/package.json +1 -1
  159. package/popup/FieldInfo.d.ts +8 -8
  160. package/popup/content/AttachmentsContent.d.ts +2 -2
  161. package/popup/content/CustomContent.d.ts +1 -1
  162. package/portal/interfaces.d.ts +2 -2
  163. package/portal/support/resourceUtils.d.ts +6 -7
  164. package/rest/featureService/types.d.ts +1 -1
  165. package/rest/geometryService.d.ts +2 -2
  166. package/rest/imageService.d.ts +1 -1
  167. package/rest/knowledgeGraph/GraphAnyValue.d.ts +1 -1
  168. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  169. package/rest/query.d.ts +1 -1
  170. package/rest/support/BufferParameters.d.ts +1 -1
  171. package/rest/support/DataLayer.d.ts +1 -1
  172. package/rest/support/DensifyParameters.d.ts +1 -1
  173. package/rest/support/DistanceParameters.d.ts +1 -1
  174. package/rest/support/FeatureSet.d.ts +2 -2
  175. package/rest/support/FindImagesParameters.d.ts +1 -1
  176. package/rest/support/GeneralizeParameters.d.ts +1 -1
  177. package/rest/support/IdentifyParameters.d.ts +1 -1
  178. package/rest/support/ImageGPSInfoParameters.d.ts +1 -1
  179. package/rest/support/ImageMeasureResultAreaValue.d.ts +1 -1
  180. package/rest/support/ImageToMapMultirayParameters.d.ts +1 -1
  181. package/rest/support/OffsetParameters.d.ts +1 -1
  182. package/rest/support/ProjectParameters.d.ts +1 -1
  183. package/rest/support/Query.d.ts +1 -1
  184. package/rest/support/QueryMixin.d.ts +1 -1
  185. package/rest/support/RelationParameters.d.ts +1 -1
  186. package/rest/support/RelationshipQuery.d.ts +1 -1
  187. package/rest/support/TopFeaturesQuery.d.ts +1 -1
  188. package/smartMapping/labels/bins.d.ts +3 -6
  189. package/smartMapping/labels/clusters.d.ts +2 -2
  190. package/smartMapping/popup/clusters.d.ts +4 -4
  191. package/smartMapping/popup/templates.d.ts +4 -4
  192. package/smartMapping/renderers/color.d.ts +6 -6
  193. package/smartMapping/renderers/size.d.ts +6 -6
  194. package/smartMapping/statistics/support/ageUtils.d.ts +5 -5
  195. package/smartMapping/statistics/types.d.ts +5 -5
  196. package/smartMapping/types.d.ts +9 -1
  197. package/support/revision.js +1 -1
  198. package/unionTypes.d.ts +1 -1
  199. package/views/2d/MapViewConstraints.d.ts +5 -4
  200. package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
  201. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  202. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  203. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  204. package/views/BreakpointsOwner.d.ts +1 -1
  205. package/views/LinkChartView.d.ts +1 -2
  206. package/views/MapView.d.ts +1 -2
  207. package/views/SceneView.d.ts +1 -2
  208. package/views/View.d.ts +1 -1
  209. package/views/Viewport2DMixin.d.ts +1 -1
  210. package/views/draw/MultipointDrawAction.d.ts +1 -1
  211. package/views/draw/MultipointDrawAction.js +1 -1
  212. package/views/draw/PointDrawAction.d.ts +1 -1
  213. package/views/draw/PointDrawAction.js +1 -1
  214. package/views/draw/PolygonDrawAction.d.ts +1 -1
  215. package/views/draw/PolygonDrawAction.js +1 -1
  216. package/views/draw/PolylineDrawAction.d.ts +1 -1
  217. package/views/draw/PolylineDrawAction.js +1 -1
  218. package/views/draw/SegmentDrawAction.d.ts +1 -1
  219. package/views/draw/SegmentDrawAction.js +1 -1
  220. package/views/input/{IViewEvents.js → mouseButtons.js} +1 -1
  221. package/views/input/types.d.ts +602 -1
  222. package/views/layers/BuildingSceneLayerView.d.ts +1 -1
  223. package/views/layers/FeatureLayerViewMixin.d.ts +1 -1
  224. package/views/layers/ImageryLayerViewMixin.d.ts +1 -1
  225. package/views/layers/MediaLayerViewMixin.d.ts +1 -1
  226. package/views/layers/PointCloudLayerView.d.ts +1 -1
  227. package/views/layers/SceneLayerView.d.ts +2 -2
  228. package/views/types.d.ts +148 -2
  229. package/webdoc/geotriggersInfo/FeatureFilter.d.ts +1 -1
  230. package/webscene/support/FeatureReferenceObjectId.d.ts +1 -1
  231. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -2
  232. package/widgets/BasemapLayerList.d.ts +3 -4
  233. package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +1 -1
  234. package/widgets/CatalogLayerList.d.ts +2 -4
  235. package/widgets/Directions/DirectionsViewModel.d.ts +1 -1
  236. package/widgets/Editor/types.d.ts +1 -1
  237. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +2 -2
  238. package/widgets/FeatureTable/VisibleElements.d.ts +30 -9
  239. package/widgets/FeatureTable/support/AttachmentsViewOptions.d.ts +1 -1
  240. package/widgets/FeatureTable/support/interfaces.d.ts +2 -2
  241. package/widgets/FeatureTable.d.ts +4 -4
  242. package/widgets/LayerList/LayerListViewModel.d.ts +9 -10
  243. package/widgets/LayerList/ListItem.d.ts +9 -11
  244. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  245. package/widgets/LayerList.d.ts +7 -4
  246. package/widgets/Legend/LegendViewModel.d.ts +5 -5
  247. package/widgets/Legend/support/ActiveLayerInfo.d.ts +5 -5
  248. package/widgets/Legend.d.ts +4 -4
  249. package/widgets/Popup/types.d.ts +3 -3
  250. package/widgets/Popup.d.ts +3 -3
  251. package/widgets/TableList/TableListViewModel.d.ts +2 -4
  252. package/widgets/TableList.d.ts +1 -1
  253. package/widgets/UtilityNetworkTrace/types.d.ts +1 -1
  254. package/assets/esri/core/workers/chunks/052ded41dc06c93ec0a7.js +0 -1
  255. package/assets/esri/core/workers/chunks/a1f264abbd6354c333bf.js +0 -1
  256. package/assets/esri/core/workers/chunks/ed38c1043e6a83f49f93.js +0 -1
  257. package/geometry/geodesicUtils.d.ts +0 -19
  258. package/geometry/operators/support/geodeticCurveType.d.ts +0 -2
  259. package/geometry/operators/support/projectionTransformation.d.ts +0 -16
  260. package/geometry/support/MeshVertexSpace.d.ts +0 -4
  261. package/geometry/support/meshUtils/elevation.d.ts +0 -16
  262. package/geometry/support/meshUtils/elevationSampler.d.ts +0 -9
  263. package/geometry/support/meshUtils/georeference.d.ts +0 -10
  264. package/geometry/support/typeUtils.d.ts +0 -16
  265. package/smartMapping/popup/support/utils.d.ts +0 -13
  266. package/smartMapping/support/binningUtils.d.ts +0 -11
  267. package/smartMapping/support/clusterUtils.d.ts +0 -11
  268. package/smartMapping/support/utils.d.ts +0 -4
  269. package/views/2d/constraints/GeometryConstraint.d.ts +0 -4
  270. package/views/HitTestItem3D.d.ts +0 -20
  271. package/views/HitTestOptions.d.ts +0 -25
  272. package/views/IBreakpointsOwner.d.ts +0 -55
  273. package/views/IObjectId.d.ts +0 -2
  274. package/views/ISceneView.d.ts +0 -5
  275. package/views/IView.d.ts +0 -43
  276. package/views/input/IViewEvents.d.ts +0 -602
  277. /package/views/draw/input/{CursorUpdateEvents.d.ts → CursorUpdateEvent.d.ts} +0 -0
  278. /package/views/draw/input/{CursorUpdateEvents.js → CursorUpdateEvent.js} +0 -0
  279. /package/views/layers/{HighlightableLayerView.d.ts → types.d.ts} +0 -0
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @since 4.31
9
9
  */
10
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
10
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
11
11
 
12
12
  /**
13
13
  * Performs the topological integration of the geometry set in the XY plane.
@@ -20,7 +20,7 @@ import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.
20
20
  * // Integrate a set of geometries
21
21
  * const result = integrateOperator.executeMany(geometries);
22
22
  */
23
- export function executeMany(geometries: GeometryUnion[]): (GeometrySansMeshUnion | null | undefined)[];
23
+ export function executeMany(geometries: GeometryUnion[]): (GeometryWithoutMeshUnion | null | undefined)[];
24
24
 
25
25
  /**
26
26
  * Indicates if the operator supports input geometries that contain curves.
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @since 4.31
7
7
  */
8
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
8
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
9
9
 
10
10
  /**
11
11
  * Accelerate a geometry. This method prepares the geometry for faster intersection 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.
@@ -46,7 +46,7 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
46
46
  * // Creates a new geometry based on the intersection of two polygons
47
47
  * const intersection = intersectionOperator.execute(polygon1, polygon2);
48
48
  */
49
- export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): GeometrySansMeshUnion | null | undefined;
49
+ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): GeometryWithoutMeshUnion | null | undefined;
50
50
 
51
51
  /**
52
52
  * Performs the topological intersection operation on the geometry set.
@@ -73,7 +73,7 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): Geo
73
73
  * @returns Returns an array of geometries created by intersecting
74
74
  * every geometry in the input geometries with the `intersector`, or an empty array if there is no intersection.
75
75
  */
76
- export function executeMany(geometries: GeometryUnion[], intersector: GeometryUnion): GeometrySansMeshUnion[];
76
+ export function executeMany(geometries: GeometryUnion[], intersector: GeometryUnion): GeometryWithoutMeshUnion[];
77
77
 
78
78
  /**
79
79
  * Indicates if the operator supports input geometries that contain curves.
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @since 4.31
9
9
  */
10
- import type { GeometryUnion } from "../support/typeUtils.js";
10
+ import type { GeometryUnion } from "../types.js";
11
11
 
12
12
  /**
13
13
  * Accelerate a geometry. This method prepares the geometry for faster intersects 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.
@@ -6,7 +6,7 @@
6
6
  * @since 4.31
7
7
  */
8
8
  import type { LengthUnit } from "../../core/units.js";
9
- import type { GeometryUnion } from "../support/typeUtils.js";
9
+ import type { GeometryUnion } from "../types.js";
10
10
 
11
11
  export interface Options {
12
12
  /**
@@ -13,7 +13,7 @@
13
13
  * @see [Sample - Geometry operator - centroid analysis](https://developers.arcgis.com/javascript/latest/sample-code/geometry-operator-centroid/)
14
14
  */
15
15
  import type Point from "../Point.js";
16
- import type { GeometryUnion } from "../support/typeUtils.js";
16
+ import type { GeometryUnion } from "../types.js";
17
17
 
18
18
  /**
19
19
  * Performs the label point operation on the geometry.
@@ -6,7 +6,7 @@
6
6
  * @since 4.31
7
7
  */
8
8
  import type { LengthUnit } from "../../core/units.js";
9
- import type { GeometryUnion } from "../support/typeUtils.js";
9
+ import type { GeometryUnion } from "../types.js";
10
10
 
11
11
  export interface Options {
12
12
  /**
@@ -4,7 +4,7 @@
4
4
  * @since 4.31
5
5
  */
6
6
  import type Polygon from "../Polygon.js";
7
- import type { GeometryUnion } from "../support/typeUtils.js";
7
+ import type { GeometryUnion } from "../types.js";
8
8
 
9
9
  /**
10
10
  * Performs the topological lines to polygons operation.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * @since 4.31
10
10
  */
11
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
11
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
12
12
 
13
13
  /**
14
14
  * Performs the locate between or locate along operation on the geometry.
@@ -25,7 +25,7 @@ import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.
25
25
  * // Perform the locate between operation
26
26
  * const geometries = locateBetweenOperator.executeMany([polyline1, polyline2], 100, 200);
27
27
  */
28
- export function executeMany(geometries: GeometryUnion[], startM: number, endM: number): (GeometrySansMeshUnion | null | undefined)[];
28
+ export function executeMany(geometries: GeometryUnion[], startM: number, endM: number): (GeometryWithoutMeshUnion | null | undefined)[];
29
29
 
30
30
  /**
31
31
  * Indicates if the operator supports input geometries that contain curves.
@@ -12,7 +12,7 @@
12
12
  * @since 4.31
13
13
  */
14
14
  import type Polygon from "../Polygon.js";
15
- import type { GeometryUnion } from "../support/typeUtils.js";
15
+ import type { GeometryUnion } from "../types.js";
16
16
 
17
17
  export interface Options {
18
18
  /**
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @since 4.31
7
7
  */
8
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
8
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
9
9
 
10
10
  export interface Options {
11
11
  /**
@@ -32,7 +32,7 @@ export interface Options {
32
32
  * // Convert multipart geometries to single part geometries
33
33
  * const singlePartGeometries = multiPartToSinglePartOperator.executeMany(multiPartGeometries);
34
34
  */
35
- export function executeMany(geometries: GeometryUnion[], options?: Options): GeometrySansMeshUnion[];
35
+ export function executeMany(geometries: GeometryUnion[], options?: Options): GeometryWithoutMeshUnion[];
36
36
 
37
37
  /**
38
38
  * Indicates if the operator supports input geometries that contain curves.
@@ -43,7 +43,7 @@
43
43
  * @see ![Sample - Geometry operator - offset analysis](https://developers.arcgis.com/javascript/latest/sample-code/geometry-operator-offset-visualizer/)
44
44
  */
45
45
  import type { LengthUnit } from "../../core/units.js";
46
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
46
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
47
47
 
48
48
  export interface Options {
49
49
  /**
@@ -96,7 +96,7 @@ export interface Options {
96
96
  * // Create an offset polygon.
97
97
  * const offsetPolygon = offsetOperator.execute(polygon, 100);
98
98
  */
99
- export function execute(geometry: GeometryUnion, distance: number, options?: Options): GeometrySansMeshUnion | null | undefined;
99
+ export function execute(geometry: GeometryUnion, distance: number, options?: Options): GeometryWithoutMeshUnion | null | undefined;
100
100
 
101
101
  /**
102
102
  * Creates offset versions of the input geometries.
@@ -110,7 +110,7 @@ export function execute(geometry: GeometryUnion, distance: number, options?: Opt
110
110
  * @param options - Additional options.
111
111
  * @returns Returns the offset geometry results or null. Very acute angles can return null when an offset geometry segment cannot be created with the given parameters.
112
112
  */
113
- export function executeMany(geometries: GeometryUnion[], distance: number, options?: Options): (GeometrySansMeshUnion | null | undefined)[];
113
+ export function executeMany(geometries: GeometryUnion[], distance: number, options?: Options): (GeometryWithoutMeshUnion | null | undefined)[];
114
114
 
115
115
  /**
116
116
  * Indicates if the operator supports input geometries that contain curves.
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @since 4.31
7
7
  */
8
- import type { GeometryUnion } from "../support/typeUtils.js";
8
+ import type { GeometryUnion } from "../types.js";
9
9
 
10
10
  /**
11
11
  * 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.
@@ -40,10 +40,8 @@
40
40
  * @see [Sample - Client-side projection](https://developers.arcgis.com/javascript/latest/sample-code/client-projection/)
41
41
  */
42
42
  import type SpatialReference from "../SpatialReference.js";
43
- import type { Options as ProjectionTransformationOptions } from "./support/projectionTransformation.js";
44
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
45
-
46
- export interface Options extends ProjectionTransformationOptions {}
43
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
44
+ import type { ProjectOptions } from "./types.js";
47
45
 
48
46
  /**
49
47
  * Indicates if all dependencies of this module have been loaded.
@@ -79,7 +77,7 @@ export function load(): Promise<void>;
79
77
  * // Project a geometry to a different spatial reference
80
78
  * const geometry = projectOperator.execute(polygon, outSpatialReference);
81
79
  */
82
- export function execute(geometry: GeometryUnion, outSpatialReference: SpatialReference, options?: Options): GeometrySansMeshUnion | null | undefined;
80
+ export function execute(geometry: GeometryUnion, outSpatialReference: SpatialReference, options?: ProjectOptions): GeometryWithoutMeshUnion | null | undefined;
83
81
 
84
82
  /**
85
83
  * Projects an array of geometries to the specified output spatial reference.
@@ -90,7 +88,7 @@ export function execute(geometry: GeometryUnion, outSpatialReference: SpatialRef
90
88
  * @param options - Additional options.
91
89
  * @returns Returns the projected geometries or null.
92
90
  */
93
- export function executeMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: Options): (GeometrySansMeshUnion | null | undefined)[];
91
+ export function executeMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: ProjectOptions): (GeometryWithoutMeshUnion | null | undefined)[];
94
92
 
95
93
  /**
96
94
  * Indicates if the operator supports input geometries that contain curves.
@@ -8,8 +8,8 @@
8
8
  */
9
9
  import type Point from "../Point.js";
10
10
  import type { LengthUnit } from "../../core/units.js";
11
- import type { ProximityResult } from "./support/proximityResult.js";
12
- import type { GeometryUnion } from "../support/typeUtils.js";
11
+ import type { GeometryUnion } from "../types.js";
12
+ import type { ProximityResult } from "./types.js";
13
13
 
14
14
  export interface Options {
15
15
  /**
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @since 4.31
7
7
  */
8
- import type { GeometryUnion } from "../support/typeUtils.js";
8
+ import type { GeometryUnion } from "../types.js";
9
9
 
10
10
  /**
11
11
  * 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.
@@ -28,7 +28,7 @@
28
28
  import type Extent from "../Extent.js";
29
29
  import type SpatialReference from "../SpatialReference.js";
30
30
  import type GeographicTransformation from "./support/GeographicTransformation.js";
31
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
31
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
32
32
 
33
33
  export interface Options {
34
34
  /**
@@ -85,7 +85,7 @@ export function load(): Promise<void>;
85
85
  * // Project a geometry to a different spatial reference while preserving its shape.
86
86
  * const geometry = shapePreservingProjectOperator.execute(polyline, spatialReference);
87
87
  */
88
- export function execute(geometry: GeometryUnion, outSpatialReference: SpatialReference, options?: Options): GeometrySansMeshUnion | null | undefined;
88
+ export function execute(geometry: GeometryUnion, outSpatialReference: SpatialReference, options?: Options): GeometryWithoutMeshUnion | null | undefined;
89
89
 
90
90
  /**
91
91
  * Performs the shape preserving project operation on multiple geometries.
@@ -96,7 +96,7 @@ export function execute(geometry: GeometryUnion, outSpatialReference: SpatialRef
96
96
  * @param options - Additional options.
97
97
  * @returns Returns the projected geometries or null.
98
98
  */
99
- export function executeMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: Options): (GeometrySansMeshUnion | null | undefined)[];
99
+ export function executeMany(geometries: GeometryUnion[], outSpatialReference: SpatialReference, options?: Options): (GeometryWithoutMeshUnion | null | undefined)[];
100
100
 
101
101
  /**
102
102
  * Indicates if the operator supports input geometries that contain curves.
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @since 4.33
8
8
  */
9
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
9
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
10
10
 
11
11
  /**
12
12
  * Performs the OGC simplify operation on a single geometry.
@@ -19,7 +19,7 @@ import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.
19
19
  * const simplified = simplifyOGCOperator.execute(polyline);
20
20
  * console.log(simplifyOGCOperator.isSimple(simplified)); // true
21
21
  */
22
- export function execute(geometry: GeometryUnion): GeometrySansMeshUnion | null | undefined;
22
+ export function execute(geometry: GeometryUnion): GeometryWithoutMeshUnion | null | undefined;
23
23
 
24
24
  /**
25
25
  * Performs the OGC simplify operation on the geometry set.
@@ -29,7 +29,7 @@ export function execute(geometry: GeometryUnion): GeometrySansMeshUnion | null |
29
29
  * @returns Returns the simplified geometry, or null. Geometry's with non-finite x or y, or infinite Zs return null.
30
30
  * The method will set NaN z values to 0.
31
31
  */
32
- export function executeMany(geometries: GeometryUnion[]): (GeometrySansMeshUnion | null | undefined)[];
32
+ export function executeMany(geometries: GeometryUnion[]): (GeometryWithoutMeshUnion | null | undefined)[];
33
33
 
34
34
  /**
35
35
  * Indicates if the given geometry is OGC topologically simple. This operation takes into account z-values.
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @since 4.31
9
9
  */
10
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
10
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
11
11
 
12
12
  /**
13
13
  * Performs the simplify operation on a single geometry.
@@ -19,7 +19,7 @@ import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.
19
19
  * const simplified = simplifyOperator.execute(polyline);
20
20
  * console.log(simplifyOperator.isSimple(simplified)); // true
21
21
  */
22
- export function execute(geometry: GeometryUnion): GeometrySansMeshUnion | null | undefined;
22
+ export function execute(geometry: GeometryUnion): GeometryWithoutMeshUnion | null | undefined;
23
23
 
24
24
  /**
25
25
  * Performs the simplify operation on the geometry set.
@@ -28,7 +28,7 @@ export function execute(geometry: GeometryUnion): GeometrySansMeshUnion | null |
28
28
  * All the geometries must have the same spatial reference.
29
29
  * @returns Returns an array whose elements may either be simplified geometries or null.
30
30
  */
31
- export function executeMany(geometries: GeometryUnion[]): (GeometrySansMeshUnion | null | undefined)[];
31
+ export function executeMany(geometries: GeometryUnion[]): (GeometryWithoutMeshUnion | null | undefined)[];
32
32
 
33
33
  /**
34
34
  * Indicates if the given geometry is non-OGC topologically simple. This operation takes into account z-values.
@@ -10,7 +10,7 @@
10
10
  * @since 4.31
11
11
  * @see [Wikipedia - Symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
12
12
  */
13
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
13
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
14
14
 
15
15
  /**
16
16
  * Performs the symmetric difference (XOR) operation on two geometries.
@@ -22,7 +22,7 @@ import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.
22
22
  * // Calculate the symmetric difference of two polygons.
23
23
  * const differencePolygon = symmetricDifferenceOperator.execute(polygon1, polygon2);
24
24
  */
25
- export function execute(leftGeometry: GeometryUnion, rightGeometry: GeometryUnion): GeometrySansMeshUnion;
25
+ export function execute(leftGeometry: GeometryUnion, rightGeometry: GeometryUnion): GeometryWithoutMeshUnion;
26
26
 
27
27
  /**
28
28
  * Performs the symmetric difference (XOR) operation on every geometry in `inputGeometries` with `rightGeometry`.
@@ -31,7 +31,7 @@ export function execute(leftGeometry: GeometryUnion, rightGeometry: GeometryUnio
31
31
  * @param rightGeometry - The geometry being XOR'd with the `inputGeometries`.
32
32
  * @returns Returns an array of the result geometries.
33
33
  */
34
- export function executeMany(inputGeometries: GeometryUnion[], rightGeometry: GeometryUnion): GeometrySansMeshUnion[];
34
+ export function executeMany(inputGeometries: GeometryUnion[], rightGeometry: GeometryUnion): GeometryWithoutMeshUnion[];
35
35
 
36
36
  /**
37
37
  * Indicates if the operator supports input geometries that contain curves.
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @since 4.31
7
7
  */
8
- import type { GeometryUnion } from "../support/typeUtils.js";
8
+ import type { GeometryUnion } from "../types.js";
9
9
 
10
10
  /**
11
11
  * Accelerate a geometry. This method prepares the geometry for faster touches 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.
@@ -1,4 +1,6 @@
1
- import type Point from "../../Point.js";
1
+ import type Extent from "../Extent.js";
2
+ import type Point from "../Point.js";
3
+ import type GeographicTransformation from "./support/GeographicTransformation.js";
2
4
 
3
5
  /** Object returned from the [getNearestCoordinate()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-proximityOperator.html#getNearestCoordinate), {@link geometry/operators/proximityOperator#nearestVegetNearestVertex getNearestVertex()}, and [getNearestVertices()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-proximityOperator.html#getNearestVertices) methods. */
4
6
  export interface ProximityResult {
@@ -15,10 +17,23 @@ export interface ProximityResult {
15
17
  * Indicates if the nearest coordinate is on the right side or left side of the input point.
16
18
  *
17
19
  * > [!WARNING]
18
- * >
19
- * > Note: This property will only be present when `calculateLeftRightSide` is set to `true` when calling `getNearestCoordinate()`.
20
+ * > This property will only be present when `calculateLeftRightSide` is set to `true` when calling `getNearestCoordinate()`.
20
21
  */
21
22
  isRightSide?: boolean;
22
23
  /** The index of the vertex on the geometry that is closest to the input point. */
23
24
  vertexIndex: number;
25
+ }
26
+
27
+ export interface ProjectOptions {
28
+ /**
29
+ * An extent used to help pick the correct transform.
30
+ * This is not used if the `geographicTransformation` option is provided.
31
+ * The extent's spatial reference should be the same as the `geometries` spatial reference.
32
+ */
33
+ readonly areaOfInterestExtent?: Extent | null;
34
+ /**
35
+ * The geographic transformation used to transform the geometries.
36
+ * Specify this parameter to project a geometry when the default transformation is not appropriate for your requirements.
37
+ */
38
+ readonly geographicTransformation?: GeographicTransformation | null;
24
39
  }
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @since 4.31
7
7
  */
8
- import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.js";
8
+ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
9
9
 
10
10
  /**
11
11
  * Perform a topological union operation on two geometries.
@@ -17,7 +17,7 @@ import type { GeometryUnion, GeometrySansMeshUnion } from "../support/typeUtils.
17
17
  * // Return the union of two polygons
18
18
  * const union = unionOperator.execute(polygon1, polygon2);
19
19
  */
20
- export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): GeometrySansMeshUnion | null | undefined;
20
+ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): GeometryWithoutMeshUnion | null | undefined;
21
21
 
22
22
  /**
23
23
  * Perform a topological union operation on a geometry set.
@@ -26,7 +26,7 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): Geo
26
26
  * All the geometries must have the same spatial reference.
27
27
  * @returns Returns the union of `geometries` as a geometry or null.
28
28
  */
29
- export function executeMany(geometries: GeometryUnion[]): GeometrySansMeshUnion | null | undefined;
29
+ export function executeMany(geometries: GeometryUnion[]): GeometryWithoutMeshUnion | null | undefined;
30
30
 
31
31
  /**
32
32
  * Indicates if the operator supports input geometries that contain curves.
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @since 4.31
9
9
  */
10
- import type { GeometryUnion } from "../support/typeUtils.js";
10
+ import type { GeometryUnion } from "../types.js";
11
11
 
12
12
  /**
13
13
  * Accelerate a geometry. This method prepares the geometry for faster within 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.
@@ -10,7 +10,6 @@ import type Point from "../Point.js";
10
10
  import type Polygon from "../Polygon.js";
11
11
  import type Polyline from "../Polyline.js";
12
12
  import type { AreaUnit, LengthUnit } from "../../core/units.js";
13
- import type { InverseGeodeticSolverResult } from "../geodesicUtils.js";
14
13
 
15
14
  /**
16
15
  * Geodetically computes the area for one or more polygons.
@@ -153,4 +152,18 @@ export function geodesicDistance(from: Point, to: Point, unit?: LengthUnit): Inv
153
152
  * const { latitude, longitude } = destination;
154
153
  * console.log("Latitude: ", latitude, ", Longitude: ", longitude);
155
154
  */
156
- export function pointFromDistance(point: Point, distance: number, azimuth: number): Point;
155
+ export function pointFromDistance(point: Point, distance: number, azimuth: number): Point;
156
+
157
+ /**
158
+ * Computed distance and direction between two known locations.
159
+ *
160
+ * @deprecated since version 4.33. Use [geodeticUtilsOperator's CalculateDistanceAndAzimuthResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-geodeticUtilsOperator.html#CalculateDistanceAndAzimuthResult) instead.
161
+ */
162
+ export interface InverseGeodeticSolverResult {
163
+ /** The azimuth (or "bearing") in degrees. Value will be in the range of 0-360°. */
164
+ readonly azimuth?: number;
165
+ /** The distance between the two locations. */
166
+ readonly distance: number;
167
+ /** The azimuth in degrees in the reverse direction. Value will be in the range of 0-360°. */
168
+ readonly reverseAzimuth?: number;
169
+ }
@@ -5,7 +5,7 @@
5
5
  * @see [Geometry](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html)
6
6
  * @see [Using fromJSON() to create a class instance](https://developers.arcgis.com/javascript/latest/using-fromjson)
7
7
  */
8
- import type { GeometryUnion } from "./typeUtils.js";
8
+ import type { GeometryUnion } from "../types.js";
9
9
  import type { GeometryType } from "../../portal/jsonTypes.js";
10
10
 
11
11
  /**
@@ -1,7 +1,9 @@
1
1
  import type Point from "../../Point.js";
2
+ import type MeshMaterial from "../MeshMaterial.js";
2
3
  import type { AbortOptions } from "../../../core/promiseUtils.js";
3
4
  import type { LengthUnit } from "../../../core/units.js";
4
5
  import type { MeshMaterialProperties } from "../MeshMaterial.js";
6
+ import type { DemResolution } from "../../../layers/support/ElevationQueryContext.js";
5
7
 
6
8
  export interface VertexSpaceParameters {
7
9
  /** The unit of the size (defaults to the unit of the location's spatial reference). */
@@ -131,6 +133,28 @@ export interface CenterAtParameters extends GeographicParameters {
131
133
  origin?: Point;
132
134
  }
133
135
 
136
+ export interface CreateFromElevationParameters extends AbortOptions {
137
+ /**
138
+ * Controls the horizontal resolution (cell size)
139
+ * in meters from which elevation data is sampled (defaults to `auto`). See [ElevationLayer#queryElevation()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ElevationLayer.html#queryElevation)
140
+ * for more details on the different settings.
141
+ *
142
+ * @default "auto"
143
+ */
144
+ demResolution?: DemResolution;
145
+ /** The material to be used for the mesh. */
146
+ material?: MeshMaterial;
147
+ }
148
+
149
+ export interface CreateElevationSamplerParameters {
150
+ /**
151
+ * The value to use when there is no data available.
152
+ *
153
+ * @default 0
154
+ */
155
+ noDataValue?: number;
156
+ }
157
+
134
158
  export interface Size {
135
159
  /** The depth of the created mesh. */
136
160
  depth?: number;
@@ -156,4 +180,14 @@ export interface ExportGLTFOptions extends AbortOptions {
156
180
  * in the binary glTF model.
157
181
  */
158
182
  origin: Point;
183
+ }
184
+
185
+ /** Represents the position and normal vertex attribute buffers of a mesh. */
186
+ export interface VertexAttributes {
187
+ /** The normal buffer. */
188
+ normal?: Float32Array<ArrayBuffer> | null;
189
+ /** The position buffer. */
190
+ position: Float64Array<ArrayBuffer>;
191
+ /** The tangent buffer. */
192
+ tangent?: Float32Array<ArrayBuffer> | null;
159
193
  }
@@ -10,11 +10,8 @@ import type Point from "../Point.js";
10
10
  import type ElevationLayer from "../../layers/ElevationLayer.js";
11
11
  import type ElevationSampler from "../../layers/support/ElevationSampler.js";
12
12
  import type { AbortOptions } from "../../core/promiseUtils.js";
13
- import type { MeshVertexSpace } from "./MeshVertexSpace.js";
14
- import type { CreateParams as ElevationCreateParams } from "./meshUtils/elevation.js";
15
- import type { CreateParameters as CreateElevationSamplerParameters } from "./meshUtils/elevationSampler.js";
16
- import type { VertexAttributes } from "./meshUtils/georeference.js";
17
- import type { GeographicParameters } from "./meshUtils/types.js";
13
+ import type { MeshVertexSpaceUnion } from "../types.js";
14
+ import type { VertexAttributes, GeographicParameters, CreateElevationSamplerParameters, CreateFromElevationParameters } from "./meshUtils/types.js";
18
15
 
19
16
  /**
20
17
  * Creates a mesh geometry by sampling elevation data from an elevation service on a regular grid.
@@ -36,7 +33,7 @@ import type { GeographicParameters } from "./meshUtils/types.js";
36
33
  * // Do something with the mesh
37
34
  * });
38
35
  */
39
- export function createFromElevation(source: ElevationLayer | Ground | ElevationSampler, extent: Extent, options?: ElevationCreateParams): Promise<Mesh>;
36
+ export function createFromElevation(source: ElevationLayer | Ground | ElevationSampler, extent: Extent, options?: CreateFromElevationParameters): Promise<Mesh>;
40
37
 
41
38
  /**
42
39
  * Creates an elevation sampler from a mesh. The sampler can be used to query elevation values
@@ -146,4 +143,4 @@ export function merge(geometries: Mesh[]): Mesh | null | undefined;
146
143
  *
147
144
  * view.graphics.add(new Graphic({ geometry: highestPoint }));
148
145
  */
149
- export function convertVertexSpace(mesh: Mesh, targetVertexSpace: MeshVertexSpace, options?: AbortOptions): Promise<Mesh>;
146
+ export function convertVertexSpace(mesh: Mesh, targetVertexSpace: MeshVertexSpaceUnion, options?: AbortOptions): Promise<Mesh>;
@@ -11,7 +11,7 @@
11
11
  * @see [Sample - CoordinateConversion widget - Custom Formats](https://developers.arcgis.com/javascript/latest/sample-code/widgets-coordinateconversion-custom/)
12
12
  */
13
13
  import type SpatialReference from "../SpatialReference.js";
14
- import type { GeometryUnion } from "./typeUtils.js";
14
+ import type { GeometryUnion } from "../types.js";
15
15
 
16
16
  /**
17
17
  * Returns `true` if the `source` spatial reference can be projected to the `target` spatial reference with the [project()](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-support-webMercatorUtils.html#project) function, or
@@ -1,3 +1,23 @@
1
+ import type Extent from "./Extent.js";
2
+ import type Mesh from "./Mesh.js";
3
+ import type Multipoint from "./Multipoint.js";
4
+ import type Point from "./Point.js";
5
+ import type Polygon from "./Polygon.js";
6
+ import type Polyline from "./Polyline.js";
7
+ import type MeshGeoreferencedVertexSpace from "./support/MeshGeoreferencedVertexSpace.js";
8
+ import type MeshLocalVertexSpace from "./support/MeshLocalVertexSpace.js";
9
+
10
+ export type FeatureGeometryType = "point" | "multipoint" | "polyline" | "polygon";
11
+
12
+ export type GeometryType = "point" | "multipoint" | "polyline" | "polygon" | "extent" | "mesh";
13
+
14
+ export type GeometryUnion = Extent | Multipoint | Point | Polygon | Polyline | Mesh;
15
+
16
+ export type GeometryWithoutMeshUnion = Extent | Multipoint | Point | Polygon | Polyline;
17
+
18
+ export type CurveType = "circular-arc" | "elliptic-arc" | "cubic-bezier";
19
+
20
+ export type GeodeticCurveType = "geodesic" | "loxodrome" | "great-elliptic" | "normal-section" | "shape-preserving";
1
21
 
2
22
  export type LatitudeLongitudeFormat = "dd" | "ddm" | "dms";
3
23
 
@@ -11,4 +31,6 @@ export interface CompressedTextureData {
11
31
  type: "encoded-mesh-texture";
12
32
  }
13
33
 
14
- export type MeshTextureData = HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageData | CompressedTextureData;
34
+ export type MeshTextureData = HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageData | CompressedTextureData;
35
+
36
+ export type MeshVertexSpaceUnion = MeshGeoreferencedVertexSpace | MeshLocalVertexSpace;
package/geometry.d.ts CHANGED
@@ -42,7 +42,7 @@ import type PointClass from "./geometry/Point.js";
42
42
  import type PolygonClass from "./geometry/Polygon.js";
43
43
  import type PolylineClass from "./geometry/Polyline.js";
44
44
  import type SpatialReferenceClass from "./geometry/SpatialReference.js";
45
- import type { GeometryUnion } from "./geometry/support/typeUtils.js";
45
+ import type { GeometryUnion } from "./geometry/types.js";
46
46
 
47
47
  /**
48
48
  * Spatial Reference.