Skip to main content
Version: Next

Type Alias: PointCloudIntersection<T>

PointCloudIntersection<T> = object

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:12

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

Type Parameters​

T​

T extends DataSourceType = ClassicDataSourceType

Properties​

annotationId​

annotationId: number

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:37

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

Deprecated​

Use volumeMetadata instead


assetRef?​

optional assetRef?: AnnotationsAssetRef

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:42

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

Deprecated​

use volumeMetadata instead


distanceToCamera​

distanceToCamera: number

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:32

Distance from the camera to the intersection.


model​

model: CognitePointCloudModel<T>

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:20

The model that was intersected.


point​

point: Vector3

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:24

Coordinate of the intersection.


pointIndex​

pointIndex: number

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:28

The index of the point that was intersected.


type​

type: "pointcloud"

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:16

The intersection type.


volumeMetadata?​

optional volumeMetadata?: T["pointCloudVolumeMetadata"]

Defined in: packages/pointclouds/src/PointCloudIntersection.ts:46

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