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