API ReferenceGlobalsPlanInteractionHandler

# Interface: PlanInteractionHandler

# Hierarchy

  • PlanInteractionHandler

# Index

# Methods

# Methods

# addPlanObjectFromItem

addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number): KernelObject

Defined in packages/typings/planner.ts:75

Parameters:

Name Type
object KernelObject
position KernelVector3
type number

Returns: KernelObject


# addPlanObjects

addPlanObjects(list: KernelObjectPtrList): void

Defined in packages/typings/planner.ts:73

Parameters:

Name Type
list KernelObjectPtrList

Returns: void


# deactivateAllSnappingActivity

deactivateAllSnappingActivity(): void

Defined in packages/typings/planner.ts:85

Returns: void


# getConfiguratorKernel

getConfiguratorKernel(): ConfiguratorKernelClass

Defined in packages/typings/planner.ts:57

Returns: ConfiguratorKernelClass


# getPlan

getPlan(): Plan

Defined in packages/typings/planner.ts:61

Returns: Plan


# groupObjects

groupObjects(planObjectPtrList: PlanObjectList): ObjectGroupPtr

Defined in packages/typings/planner.ts:79

Parameters:

Name Type
planObjectPtrList PlanObjectList

Returns: ObjectGroupPtr


# init

init(reference: PlanInteractionHandler, zoomFactor: number, viewSnapDist: number, snapObjectsToWalls: boolean, shouldSnap: boolean, drawingType: any): PlanInteractionHandler

Defined in packages/typings/planner.ts:55

Parameters:

Name Type
reference PlanInteractionHandler
zoomFactor number
viewSnapDist number
snapObjectsToWalls boolean
shouldSnap boolean
drawingType any

Returns: PlanInteractionHandler


# loadPlanXML

loadPlanXML(xml: string): Plan

Defined in packages/typings/planner.ts:59

Parameters:

Name Type
xml string

Returns: Plan


# moveElementBy

moveElementBy(planObject: KernelObject, distance: KernelVector3): void

Defined in packages/typings/planner.ts:65

Parameters:

Name Type
planObject KernelObject
distance KernelVector3

Returns: void


# moveElementTo

moveElementTo(planObject: KernelObject, point: KernelVector3): void

Defined in packages/typings/planner.ts:63

Parameters:

Name Type
planObject KernelObject
point KernelVector3

Returns: void


# moveObjectsBy

moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void

Defined in packages/typings/planner.ts:67

Parameters:

Name Type
planObjects KernelObjectPtrList
distance KernelVector3

Returns: void


# reactivateAllSnappingActivity

reactivateAllSnappingActivity(): void

Defined in packages/typings/planner.ts:87

Returns: void


# removeElement

removeElement(planObject: KernelObject): void

Defined in packages/typings/planner.ts:77

Parameters:

Name Type
planObject KernelObject

Returns: void


# rotateGroupBy

rotateGroupBy(group: ObjectGroupPtr, anAngleInRad: number, aroundPoint: KernelVector3): void

Defined in packages/typings/planner.ts:83

Parameters:

Name Type
group ObjectGroupPtr
anAngleInRad number
aroundPoint KernelVector3

Returns: void


# rotateObjectTo

rotateObjectTo(planObject: KernelObject, angleInRad: number): void

Defined in packages/typings/planner.ts:69

Parameters:

Name Type
planObject KernelObject
angleInRad number

Returns: void


# rotateObjectsBy

rotateObjectsBy(planObjectPtrList: PlanObjectList, anAngleInRad: number, aroundPoint: KernelVector3): void

Defined in packages/typings/planner.ts:81

Parameters:

Name Type
planObjectPtrList PlanObjectList
anAngleInRad number
aroundPoint KernelVector3

Returns: void


# setObjectRotation

setObjectRotation(planObject: KernelObject, angleInRad: number): void

Defined in packages/typings/planner.ts:71

Parameters:

Name Type
planObject KernelObject
angleInRad number

Returns: void