planner-core/src/roomle-planner.
# Hierarchy
-
↳
default
# Table of contents
# Constructors
# Properties
# Methods
- addMesh
- clear
- clearReference
- deselect
- deselectAllDraggablePoints
- deselectPoint1Draggable
- deselectPoint2Draggable
- getBoundingBox
- getBounds
- getContainer
- getId
- getKernelObject
- getMeasurementLineDimension
- getMesh
- getObject
- getObjectAsync
- getPlanElement
- getPoint1Draggable
- getPoint1DraggableBoundingBox
- getPoint2Draggable
- getPoint2DraggableBoundingBox
- getPosition
- getRotation
- getSize
- handleDraggablePointsSelection
- hide
- hideAllSubLines
- hideDraggableNodes
- hideDraggablePointsOnDragStart
- hidePoint1DraggableNode
- hidePoint2DraggableNode
- hidePreviewBox
- hoverOff
- hoverOffDragPoint1
- hoverOffDragPoint2
- hoverOn
- hoverOnDragPoint1
- hoverOnDragPoint2
- remove
- select
- selectAllDraggablePoints
- selectPoint1Draggable
- selectPoint2Draggable
- selectPointOnDragStart
- setObject
- setTopView
- show
- showAllSubLines
- showDraggableNodes
- showDraggablePointsOnDragEnd
- showDraggablePointsOnHoverOff
- showDraggablePointsOnHoverOn
- showPoint1DraggableNode
- showPoint2DraggableNode
- toJSON
- update
# Constructors
# constructor
• new default(planObject
)
# Parameters
Name | Type |
---|---|
planObject | PlanObject |
# Overrides
# Properties
# currentPoint
• currentPoint: string
# Methods
# addMesh
▸ addMesh(mesh
): void
# Parameters
Name | Type |
---|---|
mesh | Object3D <Object3DEventMap > |
# Returns
void
# Inherited from
# clear
▸ clear(): void
# Returns
void
# Inherited from
# clearReference
▸ clearReference(): void
# Returns
void
# Inherited from
# deselect
▸ deselect(): void
# Returns
void
# Inherited from
# deselectAllDraggablePoints
▸ deselectAllDraggablePoints(): void
# Returns
void
# deselectPoint1Draggable
▸ deselectPoint1Draggable(): void
# Returns
void
# deselectPoint2Draggable
▸ deselectPoint2Draggable(): void
# Returns
void
# getBoundingBox
▸ getBoundingBox(): RoomleEventedMesh
# Returns
# Inherited from
# getBounds
▸ getBounds(): Box3
# Returns
Box3
# Inherited from
# getContainer
▸ getContainer(): Object3D
<Object3DEventMap
>
# Returns
Object3D
<Object3DEventMap
>
# Inherited from
# getId
▸ getId(): number
# Returns
number
# Inherited from
# getKernelObject
▸ getKernelObject(): KernelObject
# Returns
# Inherited from
# getMeasurementLineDimension
▸ getMeasurementLineDimension(): MeasurementLineDimension
# Returns
# getMesh
▸ getMesh(material
): Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# Parameters
Name | Type |
---|---|
material | any |
# Returns
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# Inherited from
# getObject
▸ getObject(): RoomleEventedObject3D
# Returns
# Inherited from
# getObjectAsync
▸ getObjectAsync(): Promise
<Object3D
<Object3DEventMap
>>
# Returns
Promise
<Object3D
<Object3DEventMap
>>
# Inherited from
# getPlanElement
▸ getPlanElement(): PlanObject
# Returns
# Inherited from
# getPoint1Draggable
▸ getPoint1Draggable(): default
# Returns
# getPoint1DraggableBoundingBox
▸ getPoint1DraggableBoundingBox(): Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# Returns
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# getPoint2Draggable
▸ getPoint2Draggable(): default
# Returns
# getPoint2DraggableBoundingBox
▸ getPoint2DraggableBoundingBox(): Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# Returns
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
# getPosition
▸ getPosition(): Vector3
# Returns
Vector3
# Inherited from
# getRotation
▸ getRotation(): number
# Returns
number
# Inherited from
# getSize
▸ getSize(): Vector3
# Returns
Vector3
# Inherited from
# handleDraggablePointsSelection
▸ handleDraggablePointsSelection(planElementViewModel
): void
# Parameters
Name | Type |
---|---|
planElementViewModel | default |
# Returns
void
# hide
▸ hide(): void
# Returns
void
# hideAllSubLines
▸ hideAllSubLines(): void
# Returns
void
# hideDraggableNodes
▸ hideDraggableNodes(): void
# Returns
void
# hideDraggablePointsOnDragStart
▸ hideDraggablePointsOnDragStart(planElementViewModel
, point
): void
# Parameters
Name | Type |
---|---|
planElementViewModel | default |
point | MeasurementLineDraggablePoints |
# Returns
void
# hidePoint1DraggableNode
▸ hidePoint1DraggableNode(): void
# Returns
void
# hidePoint2DraggableNode
▸ hidePoint2DraggableNode(): void
# Returns
void
# hidePreviewBox
▸ hidePreviewBox(): void
# Returns
void
# Overrides
# hoverOff
▸ hoverOff(): void
# Returns
void
# Inherited from
# hoverOffDragPoint1
▸ hoverOffDragPoint1(): void
# Returns
void
# hoverOffDragPoint2
▸ hoverOffDragPoint2(): void
# Returns
void
# hoverOn
▸ hoverOn(): void
# Returns
void
# Inherited from
# hoverOnDragPoint1
▸ hoverOnDragPoint1(): void
# Returns
void
# hoverOnDragPoint2
▸ hoverOnDragPoint2(): void
# Returns
void
# remove
▸ remove(): void
# Returns
void
# Inherited from
# select
▸ select(): void
# Returns
void
# Inherited from
# selectAllDraggablePoints
▸ selectAllDraggablePoints(): void
# Returns
void
# selectPoint1Draggable
▸ selectPoint1Draggable(): void
# Returns
void
# selectPoint2Draggable
▸ selectPoint2Draggable(): void
# Returns
void
# selectPointOnDragStart
▸ selectPointOnDragStart(planElementViewModel
): void
# Parameters
Name | Type |
---|---|
planElementViewModel | default |
# Returns
void
# setObject
▸ setObject(object
): void
# Parameters
Name | Type |
---|---|
object | RoomleEventedObject3D |
# Returns
void
# Inherited from
# setTopView
▸ setTopView(enabled
): void
# Parameters
Name | Type |
---|---|
enabled | boolean |
# Returns
void
# Overrides
# show
▸ show(): void
# Returns
void
# showAllSubLines
▸ showAllSubLines(): void
# Returns
void
# showDraggableNodes
▸ showDraggableNodes(): void
# Returns
void
# showDraggablePointsOnDragEnd
▸ showDraggablePointsOnDragEnd(planElementViewModel
, point
): void
# Parameters
Name | Type |
---|---|
planElementViewModel | default |
point | MeasurementLineDraggablePoints |
# Returns
void
# showDraggablePointsOnHoverOff
▸ showDraggablePointsOnHoverOff(planElementViewModel
): void
# Parameters
Name | Type |
---|---|
planElementViewModel | default |
# Returns
void
# showDraggablePointsOnHoverOn
▸ showDraggablePointsOnHoverOn(planElementViewModel
): void
# Parameters
Name | Type |
---|---|
planElementViewModel | default |
# Returns
void
# showPoint1DraggableNode
▸ showPoint1DraggableNode(): void
# Returns
void
# showPoint2DraggableNode
▸ showPoint2DraggableNode(): void
# Returns
void
# toJSON
▸ toJSON(): Object
# Returns
Object
Name | Type |
---|---|
rootElementId | number |
# Inherited from
# update
▸ update(): void
# Returns
void