Frame / SView / Actions / CreatePointFaceDistanceAction
Class: CreatePointFaceDistanceAction
SView.Actions.CreatePointFaceDistanceAction
Memberof
SView.Actions
Description
点面距离测量Action
Export
Hierarchy
-
↳
CreatePointFaceDistanceAction
Table of contents
Constructors
Properties
Methods
- execute
- fromJson
- getEvents
- getId
- getScene
- getShape
- getSquareBoxLineLength
- pointFaceDistance
- pointLineDistance
- registerEvent
- removeEvent
- removeImage
- setComText
- setId
- setLineProperty
- setParameter
- setScene
- setShapeElement
- toJson
Constructors
constructor
• new CreatePointFaceDistanceAction(): CreatePointFaceDistanceAction
Returns
Memberof
CreateDistanceAction
Inherited from
CreateDistanceAction.constructor
Properties
id
• id: number
Inherited from
count
▪ Static
count: number
Inherited from
Methods
execute
▸ execute(): ActionState
Returns
ActionState
Description
执行Action
Inherited from
fromJson
▸ fromJson(sonString
): boolean
Parameters
Name | Type |
---|---|
sonString | any |
Returns
boolean
Overrides
getEvents
▸ getEvents(): M3DEvent
[]
Returns
M3DEvent
[]
Description
获得事件列表
Inherited from
CreateDistanceAction.getEvents
getId
▸ getId(): number
Returns
number
Description
获取id
Inherited from
getScene
▸ getScene(): Scene
Returns
Scene
Description
获取场景对象
Memberof
MeasureAction
Inherited from
getShape
▸ getShape(): Shape
Returns
Shape
Description
获取创建的测量
Memberof
MeasureAction