@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
32 lines (30 loc) • 2.25 kB
TypeScript
import type Multipoint from "../../../geometry/Multipoint.js";
import type Polygon from "../../../geometry/Polygon.js";
import type Polyline from "../../../geometry/Polyline.js";
import type { JSONSupport } from "../../../core/JSONSupport.js";
export interface AggregatedGeometryProperties {}
/**
* A class that defines an aggregation of geometries. Returned by the trace function when aggregate trace result is specified.
* The aggregated geometries will only include geometries that belong to features with `assetgroups` and `assettypes` specified in the trace output.
*
* @since 4.20
* @see [trace](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/trace/)
*/
export default class AggregatedGeometry extends JSONSupport {
constructor(properties?: AggregatedGeometryProperties);
/**
* A [Polyline](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polyline/) geometry representing a union of all polyline features encountered during the trace and specified by the output.
* The aggregated geometries will only include geometries that belong to features with `assetgroups/assettypes` specified in the trace output.
*/
get line(): Polyline | null | undefined;
/**
* A [multi-point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Multipoint/) geometry representing a union of all point features encountered during the trace and specified by the output
* The aggregated geometries will only include geometries that belong to features with `assetgroups/assettypes` specified in the trace output.
*/
get multipoint(): Multipoint | null | undefined;
/**
* A [Polygon](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon/) geometry representing a union of all polygon features encountered during the trace and specified by the output. Note that polygon features are normally not part of the connectivity topology, but can be returned as a result of including containment associations. Example is structure boundry.
* The aggregated geometries will only include geometries that belong to features with `assetgroups/assettypes` specified in the trace output.
*/
get polygon(): Polygon | null | undefined;
}