Skip to content
import LineOfSightAnalysisResult from "@arcgis/core/views/3d/analysis/LineOfSightAnalysisResult.js";
Inheritance:
LineOfSightAnalysisResultAccessor

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

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

intersectedGraphic

readonly Property
Type
Graphic | null | undefined

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

intersectedLocation

readonly Property
Type
Point | null | undefined

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
Type
LineOfSightAnalysisTarget | null | undefined

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

visible

readonly Property
Type
boolean

Whether the target is visible from the observer or not.