Skip to main content
Version: Next

Type Alias: PointCloudIntersection<T>

PointCloudIntersection<T>: object

An intersection with a point cloud model. Contains metadata of the first intersected volume, if any

Type Parameters

T extends DataSourceType = ClassicDataSourceType

Type declaration

annotationId

annotationId: number

Annotation Id of the intersected object within a pointcloud. (0 if not applicable)

Deprecated

Use volumeMetadata instead

assetRef?

optional assetRef: AnnotationsAssetRef

Reference to the asset associated to the intersected point cloud object, if any.

Deprecated

use volumeMetadata instead

distanceToCamera

distanceToCamera: number

Distance from the camera to the intersection.

model

model: CognitePointCloudModel<T>

The model that was intersected.

point

point: Vector3

Coordinate of the intersection.

pointIndex

pointIndex: number

The index of the point that was intersected.

type

type: "pointcloud"

The intersection type.

volumeMetadata?

optional volumeMetadata: T["pointCloudVolumeMetadata"]

Point cloud volume reference associated with the intersected point cloud volume, if any.

Defined in

packages/pointclouds/src/PointCloudIntersection.ts:12