@arcgis/core 5.2.0-next.131 → 5.2.0-next.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/107f4bcf8e6c91a67010.js +1 -0
- package/assets/esri/core/workers/chunks/{081c9ccaa5884c730a91.js → 1688c4dcd36db992a9dc.js} +1 -1
- package/assets/esri/core/workers/chunks/3a6b8f9aabde7e138834.js +1 -0
- package/assets/esri/core/workers/chunks/{18d5bad86ea3ef3ec747.js → eba9e03c1c9aa55044a3.js} +120 -120
- package/assets/esri/core/workers/chunks/f6c8e5abe1d55ab5c7dd.js +1 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/09ab0626-bb45-4650-acc8-0182d693df02.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/0c8a5d21-8a14-4451-8145-695071809cb7.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/12f4c786-0bef-4a48-b7c0-eebaa7591688.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/3ae1e25e-3aa6-4061-a016-a079159f9d65.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/41331c3c-3759-4462-8695-33c9a21b6a5b.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/94aa531e-7746-4df0-bb6e-349891f2eda5.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-arabic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-georgian.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-thai.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b8b15cdf-85d1-4120-8daa-48863d803939.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-cyrillic.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-ext.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-greek.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-hebrew.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-math.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d-vietnamese.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts/b9c5b839-db56-4419-8fcb-6ab661babb1d.woff2 +0 -0
- package/assets/esri/themes/base/fonts/fonts.scss +0 -0
- package/chunks/GaussianSplat.glsl.js +24 -9
- package/chunks/LineMarker.glsl.js +23 -23
- package/chunks/RibbonLine.glsl.js +136 -99
- package/config.js +1 -1
- package/core/PooledArray.js +1 -1
- package/geometry/operators/affineTransformOperator.d.ts +4 -0
- package/geometry/operators/alphaShapeOperator.d.ts +10 -1
- package/geometry/operators/areaOperator.d.ts +3 -0
- package/geometry/operators/autoCompleteOperator.d.ts +3 -0
- package/geometry/operators/boundaryOperator.d.ts +4 -0
- package/geometry/operators/bufferOperator.d.ts +6 -0
- package/geometry/operators/centroidOperator.d.ts +3 -0
- package/geometry/operators/clipOperator.d.ts +4 -0
- package/geometry/operators/containsOperator.d.ts +4 -0
- package/geometry/operators/convexHullOperator.d.ts +6 -0
- package/geometry/operators/crossesOperator.d.ts +4 -0
- package/geometry/operators/cutOperator.d.ts +3 -0
- package/geometry/operators/densifyOperator.d.ts +5 -0
- package/geometry/operators/differenceOperator.d.ts +4 -0
- package/geometry/operators/disjointOperator.d.ts +4 -0
- package/geometry/operators/distanceOperator.d.ts +4 -0
- package/geometry/operators/equalsOperator.d.ts +4 -0
- package/geometry/operators/extendOperator.d.ts +4 -0
- package/geometry/operators/generalizeOperator.d.ts +5 -0
- package/geometry/operators/geodesicBufferOperator.d.ts +8 -0
- package/geometry/operators/geodesicProximityOperator.d.ts +9 -0
- package/geometry/operators/geodeticAreaOperator.d.ts +6 -0
- package/geometry/operators/geodeticDensifyOperator.d.ts +7 -0
- package/geometry/operators/geodeticDistanceOperator.d.ts +6 -0
- package/geometry/operators/geodeticLengthOperator.d.ts +6 -0
- package/geometry/operators/geodeticUtilsOperator.d.ts +7 -0
- package/geometry/operators/graphicBufferOperator.d.ts +4 -0
- package/geometry/operators/integrateOperator.d.ts +3 -0
- package/geometry/operators/intersectionOperator.d.ts +5 -0
- package/geometry/operators/intersectsOperator.d.ts +4 -0
- package/geometry/operators/isNearOperator.d.ts +4 -0
- package/geometry/operators/labelPointOperator.d.ts +4 -0
- package/geometry/operators/lengthOperator.d.ts +3 -0
- package/geometry/operators/linesToPolygonsOperator.d.ts +3 -0
- package/geometry/operators/locateBetweenOperator.d.ts +3 -0
- package/geometry/operators/minimumBoundingCircleOperator.d.ts +5 -0
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +4 -0
- package/geometry/operators/offsetOperator.d.ts +5 -0
- package/geometry/operators/overlapsOperator.d.ts +4 -0
- package/geometry/operators/polygonOverlayOperator.d.ts +9 -1
- package/geometry/operators/polygonSlicerOperator.d.ts +7 -0
- package/geometry/operators/projectOperator.d.ts +6 -0
- package/geometry/operators/proximityOperator.d.ts +7 -0
- package/geometry/operators/relateOperator.d.ts +5 -0
- package/geometry/operators/reshapeOperator.d.ts +3 -0
- package/geometry/operators/shapePreservingProjectOperator.d.ts +7 -0
- package/geometry/operators/simplifyOGCOperator.d.ts +5 -0
- package/geometry/operators/simplifyOperator.d.ts +5 -0
- package/geometry/operators/support/GeographicTransformation.d.ts +2 -0
- package/geometry/operators/support/GeographicTransformationStep.d.ts +2 -0
- package/geometry/operators/support/Transformation.d.ts +6 -1
- package/geometry/operators/support/geographicTransformationUtils.d.ts +4 -0
- package/geometry/operators/symmetricDifferenceOperator.d.ts +4 -0
- package/geometry/operators/touchesOperator.d.ts +4 -0
- package/geometry/operators/types.d.ts +1 -0
- package/geometry/operators/unionOperator.d.ts +4 -0
- package/geometry/operators/withinOperator.d.ts +4 -0
- package/kernel.js +1 -1
- package/layers/GaussianSplatLayer.d.ts +0 -1
- package/layers/GeospatialPDFLayer.js +1 -1
- package/package.json +2 -2
- package/support/revision.js +1 -1
- package/symbols/LineSymbol3D.d.ts +0 -7
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/layers/GeospatialPDFLayerView2D.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/3d/interactive/placementTools/GroundNavigationPlacementTool3D.js +1 -1
- package/views/3d/layers/GeospatialPDFLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/i3s/I3SIndex.js +1 -1
- package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
- package/views/3d/navigation/modes/GroundNavigationMode3D.js +1 -1
- package/views/3d/state/Constraints.js +1 -1
- package/views/3d/state/utils/OffsetCorrectionController.js +1 -1
- package/views/3d/state/utils/groundNavigationUtils.js +1 -1
- package/views/3d/state/utils/navigationUtils.js +1 -1
- package/views/3d/terrain/SphericalPatch.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectElevationAgnosticBVH.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +23 -12
- package/views/3d/webgl-engine/core/shaderLibrary/shading/MarkerSizing.glsl.js +35 -25
- package/views/3d/webgl-engine/core/shaderLibrary/shading/readShadow.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/util/cameraUniforms.js +1 -1
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/Intersector.js +1 -1
- package/views/3d/webgl-engine/lib/IntersectorResult.js +1 -1
- package/views/3d/webgl-engine/lib/LineMaterial.js +1 -1
- package/views/3d/webgl-engine/lib/PolygonIntersectionResults.js +1 -1
- package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodResources.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/intersectWithPolygonOffset.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +4 -4
- package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/LineTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/support/PromiseQueue.js +1 -1
- package/views/support/Scheduler.js +1 -1
- package/widgets/BatchAttributeForm/ValueChangeTransaction.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
- package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.d.ts +148 -1
- package/assets/esri/core/workers/chunks/540f60e31b19d85e9371.js +0 -1
- package/assets/esri/core/workers/chunks/55a560fd872f7463b33d.js +0 -1
- package/assets/esri/core/workers/chunks/cf6f671823fa6c2a9a5e.js +0 -1
|
@@ -13,6 +13,7 @@ import type Polygon from "../Polygon.js";
|
|
|
13
13
|
import type { LengthUnit } from "../../core/units.js";
|
|
14
14
|
import type { GeometryUnion } from "../types.js";
|
|
15
15
|
|
|
16
|
+
/** @since 5.2 */
|
|
16
17
|
export interface BufferExecuteOptions {
|
|
17
18
|
/**
|
|
18
19
|
* The length unit of the buffer distances and max deviation.
|
|
@@ -29,6 +30,7 @@ export interface BufferExecuteOptions {
|
|
|
29
30
|
*/
|
|
30
31
|
export type ExecuteOptions = BufferExecuteOptions;
|
|
31
32
|
|
|
33
|
+
/** @since 5.2 */
|
|
32
34
|
export interface BufferExecuteManyOptions extends BufferExecuteOptions {
|
|
33
35
|
/**
|
|
34
36
|
* The max deviation of the result buffer from the true buffer.
|
|
@@ -66,6 +68,7 @@ export type ExecuteManyOptions = BufferExecuteManyOptions;
|
|
|
66
68
|
* @param distance - The buffer distance for the geometry. Unless the `unit` option is set, the default is the geometry's spatial reference unit.
|
|
67
69
|
* @param options - Additional options.
|
|
68
70
|
* @returns Returns the buffered geometry or null.
|
|
71
|
+
* @since 5.2
|
|
69
72
|
* @example
|
|
70
73
|
* // Buffer a polyline geometry
|
|
71
74
|
* const bufferGeometry = bufferExecute(polyline, 1000);
|
|
@@ -101,6 +104,7 @@ export function execute(geometry: GeometryUnion, distance: number, options?: Buf
|
|
|
101
104
|
* Unless the `unit` option is set, the default is the spatial reference unit of `geometries`.
|
|
102
105
|
* @param options - Additional options.
|
|
103
106
|
* @returns Returns the buffered geometries.
|
|
107
|
+
* @since 5.2
|
|
104
108
|
*/
|
|
105
109
|
export function bufferExecuteMany(geometries: GeometryUnion[], distances: number[], options?: BufferExecuteManyOptions): Polygon[];
|
|
106
110
|
|
|
@@ -126,6 +130,8 @@ export function executeMany(geometries: GeometryUnion[], distances: number[], op
|
|
|
126
130
|
/**
|
|
127
131
|
* Indicates if the operator supports input geometries that contain curves.
|
|
128
132
|
* The value will always be `true`. This will produce densified output geometries.
|
|
133
|
+
*
|
|
134
|
+
* @since 5.2
|
|
129
135
|
*/
|
|
130
136
|
export const bufferSupportsCurves: boolean;
|
|
131
137
|
|
|
@@ -20,6 +20,7 @@ import type { GeometryUnion } from "../types.js";
|
|
|
20
20
|
*
|
|
21
21
|
* @param geometry - The geometry in which to calculate the centroid.
|
|
22
22
|
* @returns The centroid of the geometry.
|
|
23
|
+
* @since 5.2
|
|
23
24
|
* @example
|
|
24
25
|
* // Return the centroid of a polygon
|
|
25
26
|
* const centroid = centroidExecute(polygon);
|
|
@@ -45,6 +46,8 @@ export function execute(geometry: GeometryUnion): Point;
|
|
|
45
46
|
/**
|
|
46
47
|
* Indicates if the operator supports input geometries that contain curves.
|
|
47
48
|
* The value will always be `true`.
|
|
49
|
+
*
|
|
50
|
+
* @since 5.2
|
|
48
51
|
*/
|
|
49
52
|
export const centroidSupportsCurves: boolean;
|
|
50
53
|
|
|
@@ -14,6 +14,7 @@ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
|
|
|
14
14
|
* @param geometry - The geometry to be clipped.
|
|
15
15
|
* @param extent - The extent used to clip the geometry.
|
|
16
16
|
* @returns Returns the clipped geometry or null.
|
|
17
|
+
* @since 5.2
|
|
17
18
|
* @example
|
|
18
19
|
* // return a new geometry of a polygon clipped by the view's extent
|
|
19
20
|
* const clippedGeometry = clipExecute(polygon, view.extent);
|
|
@@ -42,6 +43,7 @@ export function execute(geometry: GeometryUnion, extent: Extent): GeometryWithou
|
|
|
42
43
|
* All the geometries must have the same spatial reference.
|
|
43
44
|
* @param extent - The extent used to clip the geometries.
|
|
44
45
|
* @returns Returns an array whose elements may either be clipped geometries or null.
|
|
46
|
+
* @since 5.2
|
|
45
47
|
*/
|
|
46
48
|
export function clipExecuteMany(geometries: GeometryUnion[], extent: Extent): (GeometryWithoutMeshUnion | null | undefined)[];
|
|
47
49
|
|
|
@@ -61,6 +63,8 @@ export function executeMany(geometries: GeometryUnion[], extent: Extent): (Geome
|
|
|
61
63
|
/**
|
|
62
64
|
* Indicates if the operator supports input geometries that contain curves.
|
|
63
65
|
* The value will always be `true`.
|
|
66
|
+
*
|
|
67
|
+
* @since 5.2
|
|
64
68
|
*/
|
|
65
69
|
export const clipSupportsCurves: boolean;
|
|
66
70
|
|
|
@@ -14,6 +14,7 @@ import type { GeometryUnion } from "../types.js";
|
|
|
14
14
|
*
|
|
15
15
|
* @param geometry - The geometry to accelerate.
|
|
16
16
|
* @returns Returns `true` if the geometry was successfully accelerated.
|
|
17
|
+
* @since 5.2
|
|
17
18
|
*/
|
|
18
19
|
export function containsAccelerateGeometry(geometry: GeometryUnion): boolean;
|
|
19
20
|
|
|
@@ -34,6 +35,7 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
34
35
|
* @param geometry1 - The geometry that is tested for the "contains" relationship to `geometry2`.
|
|
35
36
|
* @param geometry2 - The geometry that is tested for the "within" relationship to `geometry1`.
|
|
36
37
|
* @returns Returns `true` if `geometry1` contains `geometry2`.
|
|
38
|
+
* @since 5.2
|
|
37
39
|
* @example
|
|
38
40
|
* // Returns true if one geometry contains another
|
|
39
41
|
* const isContained = containsExecute(polygon1, polygon2);
|
|
@@ -58,6 +60,8 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): boo
|
|
|
58
60
|
/**
|
|
59
61
|
* Indicates if the operator supports input geometries that contain curves.
|
|
60
62
|
* The value will always be `true`.
|
|
63
|
+
*
|
|
64
|
+
* @since 5.2
|
|
61
65
|
*/
|
|
62
66
|
export const containsSupportsCurves: boolean;
|
|
63
67
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
|
|
11
11
|
|
|
12
|
+
/** @since 5.2 */
|
|
12
13
|
export interface ConvexHullOptions {
|
|
13
14
|
/**
|
|
14
15
|
* Indicates if the convex hull geometries should be merged.
|
|
@@ -31,6 +32,7 @@ export type Options = ConvexHullOptions;
|
|
|
31
32
|
*
|
|
32
33
|
* @param geometry - The input geometry.
|
|
33
34
|
* @returns Returns the convex hull geometry or null.
|
|
35
|
+
* @since 5.2
|
|
34
36
|
* @example
|
|
35
37
|
* // Create a convex hull around a polygon.
|
|
36
38
|
* const convexHull = convexHullExecute(polygon);
|
|
@@ -58,6 +60,7 @@ export function execute(geometry: GeometryUnion): GeometryWithoutMeshUnion | nul
|
|
|
58
60
|
* All the geometries must have the same spatial reference.
|
|
59
61
|
* @param options - Additional options.
|
|
60
62
|
* @returns Returns the convex hull geometries or null.
|
|
63
|
+
* @since 5.2
|
|
61
64
|
*/
|
|
62
65
|
export function convexHullExecuteMany(geometries: GeometryUnion[], options?: ConvexHullOptions): (GeometryWithoutMeshUnion | null | undefined)[];
|
|
63
66
|
|
|
@@ -79,6 +82,7 @@ export function executeMany(geometries: GeometryUnion[], options?: ConvexHullOpt
|
|
|
79
82
|
*
|
|
80
83
|
* @param geometry - The input geometry.
|
|
81
84
|
* @returns Returns `true` if the geometry is convex.
|
|
85
|
+
* @since 5.2
|
|
82
86
|
*/
|
|
83
87
|
export function convexHullIsConvex(geometry: GeometryUnion): boolean;
|
|
84
88
|
|
|
@@ -96,6 +100,8 @@ export function isConvex(geometry: GeometryUnion): boolean;
|
|
|
96
100
|
/**
|
|
97
101
|
* Indicates if the operator supports input geometries that contain curves.
|
|
98
102
|
* The value will always be `true`.
|
|
103
|
+
*
|
|
104
|
+
* @since 5.2
|
|
99
105
|
*/
|
|
100
106
|
export const convexHullSupportsCurves: boolean;
|
|
101
107
|
|
|
@@ -12,6 +12,7 @@ import type { GeometryUnion } from "../types.js";
|
|
|
12
12
|
*
|
|
13
13
|
* @param geometry - The geometry to accelerate.
|
|
14
14
|
* @returns Returns `true` if the geometry was successfully accelerated.
|
|
15
|
+
* @since 5.2
|
|
15
16
|
*/
|
|
16
17
|
export function crossesAccelerateGeometry(geometry: GeometryUnion): boolean;
|
|
17
18
|
|
|
@@ -35,6 +36,7 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
35
36
|
* @param geometry1 - The geometry to cross.
|
|
36
37
|
* @param geometry2 - The geometry being crossed.
|
|
37
38
|
* @returns Returns `true` if `geometry1` crosses `geometry2`.
|
|
39
|
+
* @since 5.2
|
|
38
40
|
* @example
|
|
39
41
|
* // Returns true if a geometry crosses another geometry
|
|
40
42
|
* const isCrossed = crossesExecute(polygon, polyline);
|
|
@@ -62,6 +64,8 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): boo
|
|
|
62
64
|
/**
|
|
63
65
|
* Indicates if the operator supports input geometries that contain curves.
|
|
64
66
|
* The value will always be `true`.
|
|
67
|
+
*
|
|
68
|
+
* @since 5.2
|
|
65
69
|
*/
|
|
66
70
|
export const crossesSupportsCurves: boolean;
|
|
67
71
|
|
|
@@ -25,6 +25,7 @@ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
|
|
|
25
25
|
* @param geometry - The input geometry to be cut.
|
|
26
26
|
* @param polyline - The polyline that will be used to divide the input `geometry` into pieces where they cross the `polyline`.
|
|
27
27
|
* @returns Returns an array of geometries created by cutting the input geometry with the `polyline`.
|
|
28
|
+
* @since 5.2
|
|
28
29
|
* @example
|
|
29
30
|
* // Cut a polygon with a polyline
|
|
30
31
|
* const cutGeometries = cutExecute(polygon, polyline);
|
|
@@ -49,6 +50,8 @@ export function execute(geometry: GeometryUnion, polyline: Polyline): GeometryWi
|
|
|
49
50
|
/**
|
|
50
51
|
* Indicates if the operator supports input geometries that contain curves.
|
|
51
52
|
* The value will always be `true`.
|
|
53
|
+
*
|
|
54
|
+
* @since 5.2
|
|
52
55
|
*/
|
|
53
56
|
export const cutSupportsCurves: boolean;
|
|
54
57
|
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
import type { LengthUnit } from "../../core/units.js";
|
|
23
23
|
import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
|
|
24
24
|
|
|
25
|
+
/** @since 5.2 */
|
|
25
26
|
export interface DensifyOptions {
|
|
26
27
|
/**
|
|
27
28
|
* The maximum angle allowed for densification by angle. The number must be greater than or equal to zero and is only applicable on curves. The default value of `0` disables densification by angle. The value will be capped at 90 degrees (π/2). This specifies the maximum angle that a new vertex can deviate from the original geometry.
|
|
@@ -67,6 +68,7 @@ export type Options = DensifyOptions;
|
|
|
67
68
|
* Unless the `unit` option is set, the default is the spatial reference unit of `geometry`.
|
|
68
69
|
* @param options - Additional options.
|
|
69
70
|
* @returns Returns the densified geometry that does not contain any curves.
|
|
71
|
+
* @since 5.2
|
|
70
72
|
* @example
|
|
71
73
|
* // Returns a densified polyline.
|
|
72
74
|
* const densified = densifyExecute(polyline, 100);
|
|
@@ -120,6 +122,7 @@ export function execute(geometry: GeometryUnion, maxSegmentLength: number, optio
|
|
|
120
122
|
* Unless the `unit` option is set, the default is the spatial reference unit of `geometries`.
|
|
121
123
|
* @param options - Additional options.
|
|
122
124
|
* @returns Returns the densified geometries that do not contain any curves.
|
|
125
|
+
* @since 5.2
|
|
123
126
|
*/
|
|
124
127
|
export function densifyExecuteMany(geometries: GeometryUnion[], maxSegmentLength: number, options?: DensifyOptions): GeometryWithoutMeshUnion[];
|
|
125
128
|
|
|
@@ -146,6 +149,8 @@ export function executeMany(geometries: GeometryUnion[], maxSegmentLength: numbe
|
|
|
146
149
|
/**
|
|
147
150
|
* Indicates if the operator supports input geometries that contain curves.
|
|
148
151
|
* The value will always be `true`. This will produce densified output geometries.
|
|
152
|
+
*
|
|
153
|
+
* @since 5.2
|
|
149
154
|
*/
|
|
150
155
|
export const densifySupportsCurves: boolean;
|
|
151
156
|
|
|
@@ -13,6 +13,7 @@ import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
|
|
|
13
13
|
* @param geometry - The geometry instance on the left-hand side of the subtraction.
|
|
14
14
|
* @param subtractor - The geometry on the right-hand side being subtracted.
|
|
15
15
|
* @returns Returns the result of the subtraction from the `geometry`, or null. The result has the dimensions of the `geometry`.
|
|
16
|
+
* @since 5.2
|
|
16
17
|
* @example
|
|
17
18
|
* // Creates a new geometry based on the difference of two polygons
|
|
18
19
|
* const difference = differenceExecute(polygon1, polygon2);
|
|
@@ -41,6 +42,7 @@ export function execute(geometry: GeometryUnion, subtractor: GeometryUnion): Geo
|
|
|
41
42
|
* All the geometries must have the same spatial reference.
|
|
42
43
|
* @param subtractor - The geometry on the right-hand side being subtracted.
|
|
43
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`.
|
|
45
|
+
* @since 5.2
|
|
44
46
|
*/
|
|
45
47
|
export function differenceExecuteMany(geometries: GeometryUnion[], subtractor: GeometryUnion): (GeometryWithoutMeshUnion | null | undefined)[];
|
|
46
48
|
|
|
@@ -60,6 +62,8 @@ export function executeMany(geometries: GeometryUnion[], subtractor: GeometryUni
|
|
|
60
62
|
/**
|
|
61
63
|
* Indicates if the operator supports input geometries that contain curves.
|
|
62
64
|
* The value will always be `true`.
|
|
65
|
+
*
|
|
66
|
+
* @since 5.2
|
|
63
67
|
*/
|
|
64
68
|
export const differenceSupportsCurves: boolean;
|
|
65
69
|
|
|
@@ -13,6 +13,7 @@ import type { GeometryUnion } from "../types.js";
|
|
|
13
13
|
*
|
|
14
14
|
* @param geometry - The geometry to accelerate.
|
|
15
15
|
* @returns Returns `true` if the geometry was successfully accelerated.
|
|
16
|
+
* @since 5.2
|
|
16
17
|
*/
|
|
17
18
|
export function disjointAccelerateGeometry(geometry: GeometryUnion): boolean;
|
|
18
19
|
|
|
@@ -33,6 +34,7 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
33
34
|
* @param geometry1 - The base geometry that is tested for the "disjoint" relationship with `geometry2`.
|
|
34
35
|
* @param geometry2 - The comparison geometry that is tested for the "disjoint" relationship with `geometry1`.
|
|
35
36
|
* @returns Returns `true` if `geometry1` and `geometry2` are disjoint (don't intersect in any way).
|
|
37
|
+
* @since 5.2
|
|
36
38
|
* @example
|
|
37
39
|
* // Returns true if a geometry is not contained in another.
|
|
38
40
|
* // Operates the opposite of contains.
|
|
@@ -59,6 +61,8 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): boo
|
|
|
59
61
|
/**
|
|
60
62
|
* Indicates if the operator supports input geometries that contain curves.
|
|
61
63
|
* The value will always be `true`.
|
|
64
|
+
*
|
|
65
|
+
* @since 5.2
|
|
62
66
|
*/
|
|
63
67
|
export const disjointSupportsCurves: boolean;
|
|
64
68
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import type { LengthUnit } from "../../core/units.js";
|
|
10
10
|
import type { GeometryUnion } from "../types.js";
|
|
11
11
|
|
|
12
|
+
/** @since 5.2 */
|
|
12
13
|
export interface DistanceOptions {
|
|
13
14
|
/**
|
|
14
15
|
* The length unit of the distance.
|
|
@@ -32,6 +33,7 @@ export type Options = DistanceOptions;
|
|
|
32
33
|
* @param geometry2 - The second input geometry.
|
|
33
34
|
* @param options - Additional options.
|
|
34
35
|
* @returns The distance between the two geometries. Can return NaN for empty geometries.
|
|
36
|
+
* @since 5.2
|
|
35
37
|
* @example
|
|
36
38
|
* // Calculate the planar distance between two points
|
|
37
39
|
* const distance = distanceExecute(point1, point2);
|
|
@@ -57,6 +59,8 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion, opti
|
|
|
57
59
|
/**
|
|
58
60
|
* Indicates if the operator supports input geometries that contain curves.
|
|
59
61
|
* The value will always be `true`.
|
|
62
|
+
*
|
|
63
|
+
* @since 5.2
|
|
60
64
|
*/
|
|
61
65
|
export const distanceSupportsCurves: boolean;
|
|
62
66
|
|
|
@@ -10,6 +10,7 @@ import type { GeometryUnion } from "../types.js";
|
|
|
10
10
|
*
|
|
11
11
|
* @param geometry - The geometry to accelerate.
|
|
12
12
|
* @returns Returns `true` if the geometry was successfully accelerated.
|
|
13
|
+
* @since 5.2
|
|
13
14
|
*/
|
|
14
15
|
export function equalsAccelerateGeometry(geometry: GeometryUnion): boolean;
|
|
15
16
|
|
|
@@ -30,6 +31,7 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
|
|
|
30
31
|
* @param geometry1 - The first geometry.
|
|
31
32
|
* @param geometry2 - The second geometry.
|
|
32
33
|
* @returns Returns `true` if the two geometries are topologically equal.
|
|
34
|
+
* @since 5.2
|
|
33
35
|
* @example
|
|
34
36
|
* // Returns true if two geometries are equal
|
|
35
37
|
* const isEqual = equalsExecute(polyline1, polyline2);
|
|
@@ -54,6 +56,8 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion): boo
|
|
|
54
56
|
/**
|
|
55
57
|
* Indicates if the operator supports input geometries that contain curves.
|
|
56
58
|
* The value will always be `true`.
|
|
59
|
+
*
|
|
60
|
+
* @since 5.2
|
|
57
61
|
*/
|
|
58
62
|
export const equalsSupportsCurves: boolean;
|
|
59
63
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type Polyline from "../Polyline.js";
|
|
10
10
|
|
|
11
|
+
/** @since 5.2 */
|
|
11
12
|
export interface ExtendOptions {
|
|
12
13
|
/** If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position. */
|
|
13
14
|
relocateEnds?: boolean;
|
|
@@ -46,6 +47,7 @@ export type Options = ExtendOptions;
|
|
|
46
47
|
* In the case that the segments can be extended to multiple segments of the extender, `polyline2`, the shortest extension is chosen.
|
|
47
48
|
* Only end points for paths that are not shared by the end points of other paths will be extended.
|
|
48
49
|
* If the polyline cannot be extended, then null is returned.
|
|
50
|
+
* @since 5.2
|
|
49
51
|
*/
|
|
50
52
|
export function extendExecute(polyline1: Polyline, polyline2: Polyline, options?: ExtendOptions): Polyline | null | undefined;
|
|
51
53
|
|
|
@@ -69,6 +71,8 @@ export function execute(polyline1: Polyline, polyline2: Polyline, options?: Exte
|
|
|
69
71
|
/**
|
|
70
72
|
* Indicates if the operator supports input geometries that contain curves.
|
|
71
73
|
* The value will always be `false`.
|
|
74
|
+
*
|
|
75
|
+
* @since 5.2
|
|
72
76
|
*/
|
|
73
77
|
export const extendSupportsCurves: boolean;
|
|
74
78
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import type { LengthUnit } from "../../core/units.js";
|
|
9
9
|
import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
|
|
10
10
|
|
|
11
|
+
/** @since 5.2 */
|
|
11
12
|
export interface GeneralizeOptions {
|
|
12
13
|
/**
|
|
13
14
|
* Preserves degenerate parts.
|
|
@@ -44,6 +45,7 @@ export type Options = GeneralizeOptions;
|
|
|
44
45
|
* Unless the `unit` option is set, the default is the spatial reference unit of `geometry`.
|
|
45
46
|
* @param options - Additional options.
|
|
46
47
|
* @returns Returns the generalized geometry or null.
|
|
48
|
+
* @since 5.2
|
|
47
49
|
* @example
|
|
48
50
|
* // Generalize a polyline geometry
|
|
49
51
|
* const generalizedPolyline = generalizeExecute(polyline, 10);
|
|
@@ -78,6 +80,7 @@ export function execute(geometry: GeometryUnion, maxDeviation: number, options?:
|
|
|
78
80
|
* Unless the `unit` option is set, the default is the spatial reference unit of `geometries`.
|
|
79
81
|
* @param options - Additional options.
|
|
80
82
|
* @returns Returns an array of generalized geometries. Geometries with a dimension of < 1 are simply passed along.
|
|
83
|
+
* @since 5.2
|
|
81
84
|
*/
|
|
82
85
|
export function generalizeExecuteMany(geometries: GeometryUnion[], maxDeviation: number, options?: GeneralizeOptions): GeometryWithoutMeshUnion[];
|
|
83
86
|
|
|
@@ -100,6 +103,8 @@ export function executeMany(geometries: GeometryUnion[], maxDeviation: number, o
|
|
|
100
103
|
/**
|
|
101
104
|
* Indicates if the operator supports input geometries that contain curves.
|
|
102
105
|
* The value will always be `true`. This will produce densified output geometries.
|
|
106
|
+
*
|
|
107
|
+
* @since 5.2
|
|
103
108
|
*/
|
|
104
109
|
export const generalizeSupportsCurves: boolean;
|
|
105
110
|
|
|
@@ -16,6 +16,7 @@ import type Polygon from "../Polygon.js";
|
|
|
16
16
|
import type { LengthUnit } from "../../core/units.js";
|
|
17
17
|
import type { GeometryUnion, GeodeticCurveType } from "../types.js";
|
|
18
18
|
|
|
19
|
+
/** @since 5.2 */
|
|
19
20
|
export interface GeodesicBufferExecuteOptions {
|
|
20
21
|
/**
|
|
21
22
|
* The type of geodetic curve used to determine the buffer.
|
|
@@ -47,6 +48,7 @@ export interface GeodesicBufferExecuteOptions {
|
|
|
47
48
|
*/
|
|
48
49
|
export type ExecuteOptions = GeodesicBufferExecuteOptions;
|
|
49
50
|
|
|
51
|
+
/** @since 5.2 */
|
|
50
52
|
export interface GeodesicBufferExecuteManyOptions extends GeodesicBufferExecuteOptions {
|
|
51
53
|
/**
|
|
52
54
|
* If true, the resulting buffer geometries will be unioned.
|
|
@@ -67,6 +69,7 @@ export type ExecuteManyOptions = GeodesicBufferExecuteManyOptions;
|
|
|
67
69
|
* Indicates if all dependencies of this module have been loaded.
|
|
68
70
|
*
|
|
69
71
|
* @returns Returns `true` if this module's dependencies have been loaded.
|
|
72
|
+
* @since 5.2
|
|
70
73
|
*/
|
|
71
74
|
export function geodesicBufferIsLoaded(): boolean;
|
|
72
75
|
|
|
@@ -84,6 +87,7 @@ export function isLoaded(): boolean;
|
|
|
84
87
|
* Loads this module's dependencies. This method must be called first if `geodesicBufferIsLoaded` returns `false`.
|
|
85
88
|
*
|
|
86
89
|
* @returns Resolves when the dependencies have been loaded.
|
|
90
|
+
* @since 5.2
|
|
87
91
|
* @see [geodesicBufferIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodesicBufferOperator/#geodesicBufferIsLoaded)
|
|
88
92
|
*/
|
|
89
93
|
export function geodesicBufferLoad(): Promise<void>;
|
|
@@ -106,6 +110,7 @@ export function load(): Promise<void>;
|
|
|
106
110
|
* @param distance - The buffer distance for the geometry. Unless the `unit` option is set, the default is meters.
|
|
107
111
|
* @param options - Additional options.
|
|
108
112
|
* @returns Returns the buffered geometry or null.
|
|
113
|
+
* @since 5.2
|
|
109
114
|
* @example
|
|
110
115
|
* if (!geodesicBufferIsLoaded()) {
|
|
111
116
|
* await geodesicBufferLoad();
|
|
@@ -146,6 +151,7 @@ export function execute(geometry: GeometryUnion, distance: number, options?: Geo
|
|
|
146
151
|
* the last distance value is used for the rest of geometries.
|
|
147
152
|
* @param options - Additional options.
|
|
148
153
|
* @returns Returns the buffered geometries.
|
|
154
|
+
* @since 5.2
|
|
149
155
|
*/
|
|
150
156
|
export function geodesicBufferExecuteMany(geometries: GeometryUnion[], distances: number[], options?: GeodesicBufferExecuteManyOptions): Polygon[];
|
|
151
157
|
|
|
@@ -169,6 +175,8 @@ export function executeMany(geometries: GeometryUnion[], distances: number[], op
|
|
|
169
175
|
* Indicates if the operator supports input geometries that contain curves.
|
|
170
176
|
* The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
|
|
171
177
|
* This will produce densified output geometries.
|
|
178
|
+
*
|
|
179
|
+
* @since 5.2
|
|
172
180
|
*/
|
|
173
181
|
export const geodesicBufferSupportsCurves: boolean | null | undefined;
|
|
174
182
|
|
|
@@ -17,6 +17,7 @@ import type { LengthUnit } from "../../core/units.js";
|
|
|
17
17
|
import type { GeometryUnion } from "../types.js";
|
|
18
18
|
import type { ProximityResult } from "./types.js";
|
|
19
19
|
|
|
20
|
+
/** @since 5.2 */
|
|
20
21
|
export interface GeodesicProximityOptions {
|
|
21
22
|
/**
|
|
22
23
|
* The length unit of the result distance.
|
|
@@ -33,6 +34,7 @@ export interface GeodesicProximityOptions {
|
|
|
33
34
|
*/
|
|
34
35
|
export type Options = GeodesicProximityOptions;
|
|
35
36
|
|
|
37
|
+
/** @since 5.2 */
|
|
36
38
|
export interface GeodesicProximityGetNearestCoordinateOptions extends GeodesicProximityOptions {
|
|
37
39
|
/**
|
|
38
40
|
* When the parameter is set to true, this function will calculate the left/right side of a polyline or polygon.
|
|
@@ -71,6 +73,7 @@ export type GetNearestCoordinateOptions = GeodesicProximityGetNearestCoordinateO
|
|
|
71
73
|
* Indicates if all dependencies of this module have been loaded.
|
|
72
74
|
*
|
|
73
75
|
* @returns Returns `true` if this module's dependencies have been loaded.
|
|
76
|
+
* @since 5.2
|
|
74
77
|
*/
|
|
75
78
|
export function geodesicProximityIsLoaded(): boolean;
|
|
76
79
|
|
|
@@ -88,6 +91,7 @@ export function isLoaded(): boolean;
|
|
|
88
91
|
* Loads this module's dependencies. This method must be called first if `geodesicProximityIsLoaded` returns `false`.
|
|
89
92
|
*
|
|
90
93
|
* @returns Resolves when the dependencies have been loaded.
|
|
94
|
+
* @since 5.2
|
|
91
95
|
* @see [geodesicProximityIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodesicProximityOperator/#geodesicProximityIsLoaded)
|
|
92
96
|
*/
|
|
93
97
|
export function geodesicProximityLoad(): Promise<void>;
|
|
@@ -111,6 +115,7 @@ export function load(): Promise<void>;
|
|
|
111
115
|
* @param point - The point used to search for the nearest coordinate in `geometry`.
|
|
112
116
|
* @param options - Additional options.
|
|
113
117
|
* @returns Returns the result of proximity operation.
|
|
118
|
+
* @since 5.2
|
|
114
119
|
* @example
|
|
115
120
|
* if (!geodesicProximityIsLoaded()) {
|
|
116
121
|
* await geodesicProximityLoad();
|
|
@@ -149,6 +154,7 @@ export function getNearestCoordinate(geometry: GeometryUnion, point: Point, opti
|
|
|
149
154
|
* @param point - The point used to search for the nearest coordinate in the input `geometry`.
|
|
150
155
|
* @param options - Additional options.
|
|
151
156
|
* @returns Returns the result of proximity operation.
|
|
157
|
+
* @since 5.2
|
|
152
158
|
* @example
|
|
153
159
|
* if (!geodesicProximityIsLoaded()) {
|
|
154
160
|
* await geodesicProximityLoad();
|
|
@@ -192,6 +198,7 @@ export function getNearestVertex(geometry: GeometryUnion, point: Point, options?
|
|
|
192
198
|
* The array is sorted by distance to the queryPoint with the closest point first.
|
|
193
199
|
* When there are more than the `maxVertexCountToReturn` vertices to return, it returns the closest vertices.
|
|
194
200
|
* The array will be empty when `geometry` is empty.
|
|
201
|
+
* @since 5.2
|
|
195
202
|
* @example
|
|
196
203
|
* if (!geodesicProximityIsLoaded()) {
|
|
197
204
|
* await geodesicProximityLoad();
|
|
@@ -231,6 +238,8 @@ export function getNearestVertices(geometry: GeometryUnion, point: Point, search
|
|
|
231
238
|
/**
|
|
232
239
|
* Indicates if the operator supports input geometries that contain curves.
|
|
233
240
|
* The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
|
|
241
|
+
*
|
|
242
|
+
* @since 5.2
|
|
234
243
|
*/
|
|
235
244
|
export const geodesicProximitySupportsCurves: boolean | null | undefined;
|
|
236
245
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
import type { AreaUnit } from "../../core/units.js";
|
|
14
14
|
import type { GeometryUnion, GeodeticCurveType } from "../types.js";
|
|
15
15
|
|
|
16
|
+
/** @since 5.2 */
|
|
16
17
|
export interface GeodeticAreaOptions {
|
|
17
18
|
/**
|
|
18
19
|
* The type of geodetic curve used to determine the area.
|
|
@@ -39,6 +40,7 @@ export type Options = GeodeticAreaOptions;
|
|
|
39
40
|
* Indicates if all dependencies of this module have been loaded.
|
|
40
41
|
*
|
|
41
42
|
* @returns Returns `true` if this module's dependencies have been loaded.
|
|
43
|
+
* @since 5.2
|
|
42
44
|
*/
|
|
43
45
|
export function geodeticAreaIsLoaded(): boolean;
|
|
44
46
|
|
|
@@ -56,6 +58,7 @@ export function isLoaded(): boolean;
|
|
|
56
58
|
* Loads this module's dependencies. This method must be called first if `geodeticAreaIsLoaded` returns `false`.
|
|
57
59
|
*
|
|
58
60
|
* @returns Resolves when the dependencies have been loaded.
|
|
61
|
+
* @since 5.2
|
|
59
62
|
* @see [geodeticAreaIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodeticAreaOperator/#geodeticAreaIsLoaded)
|
|
60
63
|
*/
|
|
61
64
|
export function geodeticAreaLoad(): Promise<void>;
|
|
@@ -78,6 +81,7 @@ export function load(): Promise<void>;
|
|
|
78
81
|
* @param geometry - The input geometry.
|
|
79
82
|
* @param options - Additional options.
|
|
80
83
|
* @returns Returns the geodetic area of the input geometry.
|
|
84
|
+
* @since 5.2
|
|
81
85
|
* @example
|
|
82
86
|
* if (!geodeticAreaIsLoaded()) {
|
|
83
87
|
* await geodeticAreaLoad();
|
|
@@ -111,6 +115,8 @@ export function execute(geometry: GeometryUnion, options?: GeodeticAreaOptions):
|
|
|
111
115
|
/**
|
|
112
116
|
* Indicates if the operator supports input geometries that contain curves.
|
|
113
117
|
* The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
|
|
118
|
+
*
|
|
119
|
+
* @since 5.2
|
|
114
120
|
*/
|
|
115
121
|
export const geodeticAreaSupportsCurves: boolean | null | undefined;
|
|
116
122
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import type { LengthUnit } from "../../core/units.js";
|
|
15
15
|
import type { GeometryUnion, GeometryWithoutMeshUnion, GeodeticCurveType } from "../types.js";
|
|
16
16
|
|
|
17
|
+
/** @since 5.2 */
|
|
17
18
|
export interface GeodeticDensifyOptions {
|
|
18
19
|
/**
|
|
19
20
|
* The type of geodetic curve used to densify the geometries.
|
|
@@ -40,6 +41,7 @@ export type Options = GeodeticDensifyOptions;
|
|
|
40
41
|
* Indicates if all dependencies of this module have been loaded.
|
|
41
42
|
*
|
|
42
43
|
* @returns Returns `true` if this module's dependencies have been loaded.
|
|
44
|
+
* @since 5.2
|
|
43
45
|
*/
|
|
44
46
|
export function geodeticDensifyIsLoaded(): boolean;
|
|
45
47
|
|
|
@@ -57,6 +59,7 @@ export function isLoaded(): boolean;
|
|
|
57
59
|
* Loads this module's dependencies. This method must be called first if `geodeticDensifyIsLoaded` returns `false`.
|
|
58
60
|
*
|
|
59
61
|
* @returns Resolves when the dependencies have been loaded.
|
|
62
|
+
* @since 5.2
|
|
60
63
|
* @see [geodeticDensifyIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodeticDensifyOperator/#geodeticDensifyIsLoaded)
|
|
61
64
|
*/
|
|
62
65
|
export function geodeticDensifyLoad(): Promise<void>;
|
|
@@ -79,6 +82,7 @@ export function load(): Promise<void>;
|
|
|
79
82
|
* @param maxSegmentLength - The maximum segment length allowed. Unless the `unit` option is set, the default is meters. Must be a positive value.
|
|
80
83
|
* @param options - Additional options.
|
|
81
84
|
* @returns Returns the densified geometry or null. Geometries with a dimension of < 1 are simply passed along.
|
|
85
|
+
* @since 5.2
|
|
82
86
|
* @example
|
|
83
87
|
* if (!geodeticDensifyIsLoaded()) {
|
|
84
88
|
* await geodeticDensifyLoad();
|
|
@@ -117,6 +121,7 @@ export function execute(geometry: GeometryUnion, maxSegmentLength: number, optio
|
|
|
117
121
|
* @param maxSegmentLength - The maximum segment length allowed. Unless the `unit` option is set, the default is meters. Must be a positive value.
|
|
118
122
|
* @param options - Additional options.
|
|
119
123
|
* @returns Returns an array whose elements may either be densified geometries or null.
|
|
124
|
+
* @since 5.2
|
|
120
125
|
*/
|
|
121
126
|
export function geodeticDensifyExecuteMany(geometries: GeometryUnion[], maxSegmentLength: number, options?: GeodeticDensifyOptions): (GeometryWithoutMeshUnion | null | undefined)[];
|
|
122
127
|
|
|
@@ -138,6 +143,8 @@ export function executeMany(geometries: GeometryUnion[], maxSegmentLength: numbe
|
|
|
138
143
|
* Indicates if the operator supports input geometries that contain curves.
|
|
139
144
|
* The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
|
|
140
145
|
* This will produce densified output geometries.
|
|
146
|
+
*
|
|
147
|
+
* @since 5.2
|
|
141
148
|
*/
|
|
142
149
|
export const geodeticDensifySupportsCurves: boolean | null | undefined;
|
|
143
150
|
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import type { LengthUnit } from "../../core/units.js";
|
|
17
17
|
import type { GeometryUnion, GeodeticCurveType } from "../types.js";
|
|
18
18
|
|
|
19
|
+
/** @since 5.2 */
|
|
19
20
|
export interface GeodeticDistanceOptions {
|
|
20
21
|
/**
|
|
21
22
|
* The type of geodetic curve used to determine the distance.
|
|
@@ -42,6 +43,7 @@ export type Options = GeodeticDistanceOptions;
|
|
|
42
43
|
* Indicates if all dependencies of this module have been loaded.
|
|
43
44
|
*
|
|
44
45
|
* @returns Returns `true` if this module's dependencies have been loaded.
|
|
46
|
+
* @since 5.2
|
|
45
47
|
*/
|
|
46
48
|
export function geodeticDistanceIsLoaded(): boolean;
|
|
47
49
|
|
|
@@ -59,6 +61,7 @@ export function isLoaded(): boolean;
|
|
|
59
61
|
* Loads this module's dependencies. This method must be called first if `geodeticDistanceIsLoaded` returns `false`.
|
|
60
62
|
*
|
|
61
63
|
* @returns Resolves when the dependencies have been loaded.
|
|
64
|
+
* @since 5.2
|
|
62
65
|
* @see [geodeticDistanceIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodeticDistanceOperator/#geodeticDistanceIsLoaded)
|
|
63
66
|
*/
|
|
64
67
|
export function geodeticDistanceLoad(): Promise<void>;
|
|
@@ -82,6 +85,7 @@ export function load(): Promise<void>;
|
|
|
82
85
|
* @param geometry2 - The second input geometry.
|
|
83
86
|
* @param options - Additional options.
|
|
84
87
|
* @returns Returns the distance between the two geometries. Can return NaN for empty geometries.
|
|
88
|
+
* @since 5.2
|
|
85
89
|
* @example
|
|
86
90
|
* if (!geodeticDistanceIsLoaded()) {
|
|
87
91
|
* await geodeticDistanceLoad();
|
|
@@ -116,6 +120,8 @@ export function execute(geometry1: GeometryUnion, geometry2: GeometryUnion, opti
|
|
|
116
120
|
/**
|
|
117
121
|
* Indicates if the operator supports input geometries that contain curves.
|
|
118
122
|
* The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
|
|
123
|
+
*
|
|
124
|
+
* @since 5.2
|
|
119
125
|
*/
|
|
120
126
|
export const geodeticDistanceSupportsCurves: boolean | null | undefined;
|
|
121
127
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
import type { LengthUnit } from "../../core/units.js";
|
|
14
14
|
import type { GeometryUnion, GeodeticCurveType } from "../types.js";
|
|
15
15
|
|
|
16
|
+
/** @since 5.2 */
|
|
16
17
|
export interface GeodeticLengthOptions {
|
|
17
18
|
/**
|
|
18
19
|
* The type of geodetic curve used to determine the length.
|
|
@@ -39,6 +40,7 @@ export type Options = GeodeticLengthOptions;
|
|
|
39
40
|
* Indicates if all dependencies of this module have been loaded.
|
|
40
41
|
*
|
|
41
42
|
* @returns Returns `true` if this module's dependencies have been loaded.
|
|
43
|
+
* @since 5.2
|
|
42
44
|
*/
|
|
43
45
|
export function geodeticLengthIsLoaded(): boolean;
|
|
44
46
|
|
|
@@ -56,6 +58,7 @@ export function isLoaded(): boolean;
|
|
|
56
58
|
* Loads this module's dependencies. This method must be called first if `geodeticLengthIsLoaded` returns `false`.
|
|
57
59
|
*
|
|
58
60
|
* @returns Resolves when the dependencies have been loaded.
|
|
61
|
+
* @since 5.2
|
|
59
62
|
* @see [geodeticLengthIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/geodeticLengthOperator/#geodeticLengthIsLoaded)
|
|
60
63
|
*/
|
|
61
64
|
export function geodeticLengthLoad(): Promise<void>;
|
|
@@ -78,6 +81,7 @@ export function load(): Promise<void>;
|
|
|
78
81
|
* @param geometry - The input geometry.
|
|
79
82
|
* @param options - Additional options.
|
|
80
83
|
* @returns Returns the geodetic length of the input geometry.
|
|
84
|
+
* @since 5.2
|
|
81
85
|
* @example
|
|
82
86
|
* if (!geodeticLengthIsLoaded()) {
|
|
83
87
|
* await geodeticLengthLoad();
|
|
@@ -111,6 +115,8 @@ export function execute(geometry: GeometryUnion, options?: GeodeticLengthOptions
|
|
|
111
115
|
/**
|
|
112
116
|
* Indicates if the operator supports input geometries that contain curves.
|
|
113
117
|
* The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
|
|
118
|
+
*
|
|
119
|
+
* @since 5.2
|
|
114
120
|
*/
|
|
115
121
|
export const geodeticLengthSupportsCurves: boolean | null | undefined;
|
|
116
122
|
|