Skip to main content
Version: Next

Type Alias: CadIntersection

CadIntersection = object

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

Properties

distanceToCamera

distanceToCamera: number

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

Distance from the camera to the intersection.


model

model: CogniteCadModel

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

The model that was intersected.


point

point: Vector3

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

Coordinate of the intersection.


treeIndex

treeIndex: number

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

Tree index of the intersected 3D node.


type

type: "cad"

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

The intersection type.