LineOfSightAnalysisResult

AMD: require(["esri/views/3d/analysis/LineOfSightAnalysisResult"], (LineOfSightAnalysisResult) => { /* code goes here */ });
ESM: import LineOfSightAnalysisResult from "@arcgis/core/views/3d/analysis/LineOfSightAnalysisResult.js";
Class: esri/views/3d/analysis/LineOfSightAnalysisResult

Contains the result for a line of sight analysis from a LineOfSightAnalysis.

Constructors

LineOfSightAnalysisResult

Constructor
new LineOfSightAnalysisResult(properties)
Parameter
properties Object
optional

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.

LineOfSightAnalysisResult
Point

A Point representing the location where the line of sight first intersects the ground or 3D objects in the scene.

LineOfSightAnalysisResult
LineOfSightAnalysisTarget

Represents a target in a LineOfSightAnalysis which is used to calculate the visibility from the LineOfSightAnalysis.

LineOfSightAnalysisResult
Boolean

Whether the target is visible from the observer or not.

LineOfSightAnalysisResult

Property Details

intersectedGraphic

Property
intersectedGraphic Graphicreadonly

The first Graphic intersected by the line of sight. If no graphic is intersected then this property is null.

intersectedLocation

Property
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

Property
target LineOfSightAnalysisTarget

Represents a target in a LineOfSightAnalysis which is used to calculate the visibility from the LineOfSightAnalysis.

visible

Property
visible Booleanreadonly

Whether the target is visible from the observer or not.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.