RoomleConfigurator.Internal.PlanInteractionHandler
configurator-core/src/roomle-configurator.internal.PlanInteractionHandler
Table of contents
Properties
Methods
Properties
customRaster
• customRaster: number
dockWhenSnap
• dockWhenSnap: boolean
enableDrawingSnap
• enableDrawingSnap: boolean
enableRaster
• enableRaster: boolean
enableSnap
• enableSnap: boolean
objectToObjectSnapMode
• objectToObjectSnapMode: SnapMode
objectToWallSnapMode
• objectToWallSnapMode: SnapMode
showChildrenOfPlanObjects
• showChildrenOfPlanObjects: ChildEntityMode
unDockOnMove
• unDockOnMove: boolean
unit
• unit: string
Methods
addMeasure
▸ addMeasure(startPosition
, endPosition
): PlanMeasure
Parameters
Name | Type |
---|---|
| |
|
Returns
addNode
▸ addNode(point
): PlanNode
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
addOrUpdateExternalPlanObjects
▸ addOrUpdateExternalPlanObjects(serialzedConfiguration
, position
, rotationInRad
, findFreeSpaceInPlan
): PlanObject
[]
Parameters
Name | Type |
---|---|
|
|
| |
|
|
|
|
Returns
addPlanObjectFromItem
▸ addPlanObjectFromItem(object
, position
, type
, findFreeSpaceInPlan
): PlanObject
Parameters
Name | Type |
---|---|
| |
| |
|
|
|
|
Returns
addPlanObjects
▸ addPlanObjects(list
, findFreeSpaceInPlan
): PlanObject
[]
Parameters
Name | Type |
---|---|
| |
|
|
Returns
addWall
▸ addWall(from
, to
): KernelWall
Parameters
Returns
beginDrawing
▸ beginDrawing(point
, vectorPreviewMode
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
Returns
void
cancelDrawing
▸ cancelDrawing(): void
Returns
void
currentDrawingPosition
▸ currentDrawingPosition(point
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
void
deactivateAllSnappingActivity
▸ deactivateAllSnappingActivity(): void
Returns
void
duplicatePlanObject
▸ duplicatePlanObject(object
, count
, findFreeSpaceInPlan
): PlanObject
[]
Parameters
Name | Type |
---|---|
| |
|
|
|
|
Returns
duplicatePlanObjects
▸ duplicatePlanObjects(objects
, count
, findFreeSpaceInPlan
): PlanObject
[]
Parameters
Name | Type |
---|---|
| |
|
|
|
|
Returns
endDrawing
▸ endDrawing(point
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
void
endInteraction
▸ endInteraction(): void
Returns
void
forceNode
▸ forceNode(point
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
void
getConfiguratorKernel
▸ getConfiguratorKernel(): ConfiguratorKernelClass
Returns
getContinuousDrawingManager
▸ getContinuousDrawingManager(): ContinuousDrawingManager
Returns
getPlan
▸ getPlan(): Plan
Returns
getShowChildrenOfPlanObject
▸ getShowChildrenOfPlanObject(object
): ChildEntityMode
Parameters
Name | Type |
---|---|
|
Returns
groupObjects
▸ groupObjects(planObjectPtrList
): ObjectGroupPtr
Parameters
Name | Type |
---|---|
|
Returns
init
▸ init(reference
, zoomFactor
, viewSnapDist
, wallSnapMode
, objectSnapMode
, shouldSnap
, drawingType
): PlanInteractionHandler
Parameters
Name | Type |
---|---|
| |
|
|
|
|
|
|
|
|
|
|
|
|
Returns
isRedoPossible
▸ isRedoPossible(): boolean
Returns
boolean
isUndoPossible
▸ isUndoPossible(): boolean
Returns
boolean
isVectorPreviewModeEnabled
▸ isVectorPreviewModeEnabled(): boolean
Returns
boolean
loadPlanXML
▸ loadPlanXML(xml
): Plan
Parameters
Name | Type |
---|---|
|
|
Returns
moveElementBy
▸ moveElementBy(planObject
, distance
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
moveElementTo
▸ moveElementTo(planObject
, point
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
moveObjectsBy
▸ moveObjectsBy(planObjects
, distance
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
reactivateAllSnappingActivity
▸ reactivateAllSnappingActivity(): void
Returns
void
redo
▸ redo(): void
Returns
void
removeElement
▸ removeElement(planObject
): void
Parameters
Name | Type |
---|---|
|
Returns
void
rotateGroupBy
▸ rotateGroupBy(group
, anAngleInRad
, aroundPoint
): void
Parameters
Name | Type |
---|---|
| |
|
|
|
Returns
void
rotateObjectTo
▸ rotateObjectTo(planObject
, angleInRad
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
rotateObjectsBy
▸ rotateObjectsBy(planObjectPtrList
, anAngleInRad
, aroundPoint
): void
Parameters
Name | Type |
---|---|
| |
|
|
|
Returns
void
setDefaultParapetHeight
▸ setDefaultParapetHeight(parapetHeight
, applyToAll
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
setDefaultWallHeight
▸ setDefaultWallHeight(wallHeight
, applyToAll
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
setDefaultWallThickness
▸ setDefaultWallThickness(wallThickness
, applyToAll
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
setDrawingType
▸ setDrawingType(aNewDrawingType
): void
Parameters
Name | Type |
---|---|
|
Returns
void
setFloorMaterial
▸ setFloorMaterial(floor
, material
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
setLengthOfWall
▸ setLengthOfWall(wall
, length
, preferredSide
, direction
, moveOrthogonalWalls
): void
Parameters
Name | Type |
---|---|
| |
|
|
| |
| |
|
|
Returns
void
setMeasurePoint1
▸ setMeasurePoint1(measure
, point
, snapToWalls
, snapToObjects
): void
Parameters
Name | Type |
---|---|
| |
| |
|
|
|
|
Returns
void
setMeasurePoint2
▸ setMeasurePoint2(measure
, point
, snapToWalls
, snapToObjects
): void
Parameters
Name | Type |
---|---|
| |
| |
|
|
|
|
Returns
void
setObjectCustomColor
▸ setObjectCustomColor(anObject
, aCustomColor
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
setObjectFixedZ
▸ setObjectFixedZ(anObject
, shouldFlipZ
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
setObjectFlipX
▸ setObjectFlipX(anObject
, shouldFlipX
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
setObjectFlipY
▸ setObjectFlipY(anObject
, shouldFlipY
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
setObjectRotation
▸ setObjectRotation(planObject
, angleInRad
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
setObjectSize
▸ setObjectSize(anObject
, aNewSize
, anAnchor
): void
Parameters
Name | Type |
---|---|
| |
| |
|
Returns
void
setShowChildrenOfPlanObject
▸ setShowChildrenOfPlanObject(object
, mode
, switchChildModeOffForAllOtherObjects
): void
Parameters
Name | Type |
---|---|
| |
| |
|
|
Returns
void
setSnapFeedbackWhileDrawing
▸ setSnapFeedbackWhileDrawing(enabled
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setViewSnapDist
▸ setViewSnapDist(aDist
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
setWallHeight
▸ setWallHeight(wall
, height
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
setWallLeftMaterial
▸ setWallLeftMaterial(wall
, material
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
setWallRightMaterial
▸ setWallRightMaterial(wall
, material
): void
Parameters
Name | Type |
---|---|
| |
|
Returns
void
setWallThickness
▸ setWallThickness(wall
, thickness
): void
Parameters
Name | Type |
---|---|
| |
|
|
Returns
void
setZoomFactor
▸ setZoomFactor(pxPerMM
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
startInteraction
▸ startInteraction(): void
Returns
void
undo
▸ undo(): void
Returns
void
Last updated