Represents the analysis view of a LineOfSightAnalysis after it has been added to SceneView.analyses.
The LineOfSightAnalysisView3D is responsible for rendering a LineOfSightAnalysis using custom visualizations. The properties on the analysis view provide developers with the ability to query line of sight analysis results.
The view for an analysis can be retrieved using SceneView.whenAnalysisView similar to how layer views are retrieved for layers using SceneView.whenLayerView.
// retrieve analysis view for analysis
const analysis = new LineOfSightAnalysis();
sceneView.analyses.add(analysis); // add to the scene view
const analysisView = await view.whenAnalysisView(analysis);
Constructors
-
new LineOfSightAnalysisView3D(properties)
-
Parameter:properties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Name | Type | Summary | Class | |
---|---|---|---|---|
LineOfSightAnalysis | more details The line of sight analysis object associated with the analysis view. | more details | LineOfSightAnalysisView3D | |
Boolean | more details Set to | more details | LineOfSightAnalysisView3D | |
Collection<LineOfSightAnalysisResult> | more details Analysis results for each target. | more details | LineOfSightAnalysisView3D | |
String | more details The analysis view type. | more details | LineOfSightAnalysisView3D | |
Boolean | more details When | more details | LineOfSightAnalysisView3D |
Property Details
-
analysis LineOfSightAnalysisreadonly
-
The line of sight analysis object associated with the analysis view.
-
interactive Boolean
-
Set to
true
to enable interactivity for the associated LineOfSightAnalysis. If the analysis has a valid observer and targets defined, then manipulators will be shown which the user can click and drag in order to edit the analysis. Remove a target with right click.This property will be overridden to
true
while the analysis is assigned to a LineOfSightViewModel.- Default Value:false
-
results Collection<LineOfSightAnalysisResult>readonly
-
Analysis results for each target.
-
type Stringreadonly
-
The analysis view type.
For LineOfSightAnalysisView3D the type is always "line-of-sight-view-3d".
-
visible Boolean
-
When
true
, the analysis is visualized in the view.