Skip to main content
Version: Next

Type Alias: CadIntersection

CadIntersection = object

Defined in: packages/api/src/public/migration/types.ts:290

Properties

distanceToCamera

distanceToCamera: number

Defined in: packages/api/src/public/migration/types.ts:310

Distance from the camera to the intersection.


model

model: CogniteCadModel

Defined in: packages/api/src/public/migration/types.ts:298

The model that was intersected.


point

point: Vector3

Defined in: packages/api/src/public/migration/types.ts:302

Coordinate of the intersection.


treeIndex

treeIndex: number

Defined in: packages/api/src/public/migration/types.ts:306

Tree index of the intersected 3D node.


type

type: "cad"

Defined in: packages/api/src/public/migration/types.ts:294

The intersection type.