import type GraphicOrigin from "./GraphicOrigin.js"; import type PointCloudLayer from "../layers/PointCloudLayer.js"; /** * Provides information about the [PointCloudLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/PointCloudLayer/) from which a graphic originates. * The [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#origin) information may be available when a graphic is returned from methods such as * [hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#hitTest) or [PointCloudLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/PointCloudLayerView/#queryFeatures). * * @since 5.0 * @see [SceneView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#hitTest) * @see [Scene component hitTest()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#hitTest) */ export default class PointCloudGraphicOrigin extends GraphicOrigin { constructor(layer: PointCloudLayer); /** A layer from which a graphic originates. */ readonly layer: PointCloudLayer; /** * Indicates the type of layer the graphic originated from. * * @default "point-cloud" */ readonly type: PointCloudLayer["type"]; }