require(["esri/views/3d/analysis/LineOfSightAnalysisResult"], (LineOfSightAnalysisResult) => { /* code goes here */ });
import LineOfSightAnalysisResult from "@arcgis/core/views/3d/analysis/LineOfSightAnalysisResult.js";
esri/views/3d/analysis/LineOfSightAnalysisResult
Contains the result for a line of sight analysis from a LineOfSightAnalysis.
Constructors
-
new LineOfSightAnalysisResult(properties)
-
Parameterproperties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Name | Type | Summary | Class |
---|---|---|---|
Graphic | The first Graphic intersected by the line of sight. more details | LineOfSightAnalysisResult | |
Point | A Point representing the location where the line of sight first intersects the ground or 3D objects in the scene. more details | LineOfSightAnalysisResult | |
LineOfSightAnalysisTarget | Represents a target in a LineOfSightAnalysis which is used to calculate the visibility from the LineOfSightAnalysis. more details | LineOfSightAnalysisResult | |
Boolean | Whether the target is visible from the observer or not. more details | LineOfSightAnalysisResult |
Property Details
-
intersectedGraphic Graphicreadonly
-
The first Graphic intersected by the line of sight. If no graphic is intersected then this property is
null
.
-
intersectedLocation Pointreadonly
-
A Point representing the location where the line of sight first intersects the ground or 3D objects in the scene. If the target is visible this property is
null
.
-
target LineOfSightAnalysisTarget
-
Represents a target in a LineOfSightAnalysis which is used to calculate the visibility from the LineOfSightAnalysis.
-
visible Booleanreadonly
-
Whether the target is visible from the observer or not.