ViewerHighlightAPI#
Interface ViewerHighlightAPI
Hierarchy
- ViewerHighlightAPI
Methods
dehighlight Entity
highlight Arc
- highlight
Arc(pickedPt1, pickedPt3, center, axis, angle, measurementID): number -
Parameters
-
pickedPt1: Float32Array | [number, number, number]
-
pickedPt3: Float32Array | [number, number, number]
-
center: Float32Array | [number, number, number]
-
axis: Float32Array | [number, number, number]
-
angle: number
-
measurementID: number
Returns number
-
highlightBBox
highlight Entity
- highlight
Entity(handle, highlightParameters?): Promise<number> -
Enable highlighting of the entity , which matches the attributes informed in the viewerDataSelector
Parameters
-
handle: TopologyHandle
: IViewerHighlightSelector
-
Optional
highlightParameters: ViewerHighlightParameters
Returns Promise<number>
the highlightHandle, which it reqed to remove the highlighting
-
Disable highlighting for the handle