Skip to content
import { isPointCloudGraphicOrigin } from "@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

NameReturn TypeObject

isPointCloudGraphicOrigin

Function

Utility function that determines whether a graphic’s origin is a PointCloudGraphicOrigin.

Signature
isPointCloudGraphicOrigin (origin: GraphicOrigin | null | undefined): origin is PointCloudGraphicOrigin
Parameters
ParameterTypeDescriptionRequired
origin

The graphic origin to check.

Returns
origin is PointCloudGraphicOrigin

Returns true if the graphic origin is of type PointCloudGraphicOrigin, false otherwise.