Show / Hide Table of Contents

Constructor LocationLineOfSight

LocationLineOfSight()

Initializes a new instance of the LocationLineOfSight class.

Declaration
public LocationLineOfSight()

Applies to

Platforms and versions
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

LocationLineOfSight(MapPoint, MapPoint)

Initializes a new instance of the LocationLineOfSight class.

Declaration
public LocationLineOfSight(MapPoint observerLocation, MapPoint targetLocation)
Parameters
Type Name Description
MapPoint observerLocation

A point to use as the location of the observer

MapPoint targetLocation

A point to use as the location of the target

Remarks

The Line-Of-Sight analysis is rendered between an observer location and a target location displaying visibility between the two

Applies to

Platforms and versions
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.