▾
import { integrateExecuteMany, executeMany, integrateSupportsCurves, supportsCurves } from "@arcgis/core/geometry/operators/integrateOperator.js";const { integrateExecuteMany, executeMany, integrateSupportsCurves, supportsCurves } = await $arcgis.import("@arcgis/core/geometry/operators/integrateOperator.js");- Since
- ArcGIS Maps SDK for JavaScript 4.31
Performs an Integration operation on a set of 2D geometries. This operator cleans up topological inconsistencies in the set. It inserts vertices where segments intersect other segments or points. It removes slivers and collapses close vertices. As a result of the operation, the geometries returned in the integrated set intersect only at vertices and there are no points that are closer than the spatial reference tolerance in the XY plane.
Functions
integrateExecuteMany
- Since
- ArcGIS Maps SDK for JavaScript 5.2
Performs the topological integration of the geometry set in the XY plane.
- Signature
-
integrateExecuteMany (geometries: GeometryUnion[]): (GeometryWithoutMeshUnion | null | undefined)[]
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| geometries | The set of geometries to integrate. All the geometries must have the same spatial reference. | |
- Returns
- (GeometryWithoutMeshUnion | null | undefined)[]
Returns the result of the integration. The operation filters out degenerate segments and returns
nullfor empty geometries.
- Example
- // Integrate a set of geometriesconst result = integrateExecuteMany(geometries);
executeMany
Performs the topological integration of the geometry set in the XY plane.
- Signature
-
executeMany (geometries: GeometryUnion[]): (GeometryWithoutMeshUnion | null | undefined)[]
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| geometries | The set of geometries to integrate. All the geometries must have the same spatial reference. | |
- Returns
- (GeometryWithoutMeshUnion | null | undefined)[]
Returns the result of the integration. The operation filters out degenerate segments and returns
nullfor empty geometries.
- Example
- // Integrate a set of geometriesconst result = integrateExecuteMany(geometries);
Variables
integrateSupportsCurves
- Since
- ArcGIS Maps SDK for JavaScript 5.2
Indicates if the operator supports input geometries that contain curves.
The value will always be true.
- Type
- boolean
supportsCurves
Indicates if the operator supports input geometries that contain curves.
The value will always be true.
- Type
- ReturnType