Skip to main content
Version: Next

Type Alias: CadIntersection

CadIntersection = object

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

Properties

distanceToCamera

distanceToCamera: number

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

Distance from the camera to the intersection.


model

model: CogniteCadModel

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

The model that was intersected.


point

point: Vector3

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

Coordinate of the intersection.


treeIndex

treeIndex: number

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

Tree index of the intersected 3D node.


type

type: "cad"

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

The intersection type.