@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
29 lines (27 loc) • 1.28 kB
TypeScript
/**
* 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.
*
* @since 4.31
*/
import type { GeometryUnion, GeometryWithoutMeshUnion } from "../types.js";
/**
* Performs the topological integration of the geometry set in the XY plane.
*
* @param geometries - The set of geometries to integrate.
* All the geometries must have the same spatial reference.
* @returns Returns the result of the subtraction.
* The operation filters out degenerate segments and returns `null` for empty geometries.
* @example
* // Integrate a set of geometries
* const result = integrateOperator.executeMany(geometries);
*/
export function executeMany(geometries: GeometryUnion[]): (GeometryWithoutMeshUnion | null | undefined)[];
/**
* Indicates if the operator supports input geometries that contain curves.
* The value will always be `true`.
*/
export const supportsCurves: boolean;