import { isPointCloudGraphicOrigin } from "@arcgis/core/graphic/isPointCloudGraphicOrigin.js";const { isPointCloudGraphicOrigin } = await $arcgis.import("@arcgis/core/graphic/isPointCloudGraphicOrigin.js");- Since
- ArcGIS Maps SDK for JavaScript 5.0
Provides a utility function to determine whether a graphic's origin is a PointCloudGraphicOrigin.
Functions
| Name | Return Type | Object |
|---|---|---|
origin is PointCloudGraphicOrigin | |
isPointCloudGraphicOrigin
Function
Utility function that determines whether a graphic’s origin is a PointCloudGraphicOrigin.
- Signature
-
isPointCloudGraphicOrigin (origin: GraphicOrigin | null | undefined): origin is PointCloudGraphicOrigin
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| origin | The graphic origin to check. | |
- Returns
- origin is PointCloudGraphicOrigin
Returns
trueif the graphic origin is of type PointCloudGraphicOrigin,falseotherwise.