Skip to main content
Version: Next

Type Alias: CadIntersection

CadIntersection = object

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

Properties

distanceToCamera

distanceToCamera: number

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

Distance from the camera to the intersection.


model

model: CogniteCadModel

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

The model that was intersected.


point

point: Vector3

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

Coordinate of the intersection.


treeIndex

treeIndex: number

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

Tree index of the intersected 3D node.


type

type: "cad"

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

The intersection type.