Show / Hide Table of Contents

Class LocationLineOfSight

LocationLineOfSight is an analysis object that generates a line of sight between observer and target point objects.

Inheritance
System.Object
Analysis
LineOfSight
LocationLineOfSight
LineOfSight.TargetVisibility
LineOfSight.TargetVisibilityChanged
LineOfSight.VisibleColor
LineOfSight.ObstructedColor
LineOfSight.LineWidth
Analysis.IsVisible
Namespace: Esri.ArcGISRuntime.UI.GeoAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LocationLineOfSight : LineOfSight
Remarks

LocationLineOfSight renders a viewshed in a scene view based on an observer location and a target location, each defined using a MapPoint geometry.

Constructors

Name Description
LocationLineOfSight()

Initializes a new instance of the LocationLineOfSight class.

LocationLineOfSight(MapPoint, MapPoint)

Initializes a new instance of the LocationLineOfSight class.

Properties

Name Description
ObserverLocation

Gets or sets the observer location of the Line-Of-Sight analysis.

TargetLocation

Gets or sets the target location of the Line-Of-Sight analysis.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.2.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 100.15

Relevant samples

Line of sight (location): Perform a line of sight analysis between two points in real time.
In This Article
Back to top Copyright © 2022 Esri.