Class GeoElementLineOfSight
An analysis object that evaluates visibility along a line defined by observer and target GeoElement objects.
Implements
Namespace: Esri.ArcGISRuntime.UI.GeoAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GeoElementLineOfSight : LineOfSight, INotifyPropertyChangedRemarks
GeoElementLineOfSight renders a line between an observer GeoElement and a target GeoElement (each using Point geometry). Visible and obstructed portions of the line are displayed with unique colors (green and red by default). The observer and/or target GeoElements may be moving, in which case visibility will be dynamically updated.
Constructors
| Name | Description | 
|---|---|
| GeoElementLineOfSight(GeoElement, GeoElement) | Initializes a new instance of the GeoElementLineOfSight class. | 
Properties
| Name | Description | 
|---|---|
| ObserverGeoElement | Gets the observer GeoElement of the GeoElementLineOfSight. | 
| ObserverOffsetX | Gets or sets the location offset applied to the observer GeoElement in the X direction. | 
| ObserverOffsetY | Gets or sets the location offset applied to the observer GeoElement in the Y direction. | 
| ObserverOffsetZ | Gets or sets the location offset applied to the observer GeoElement in the Z direction. | 
| TargetGeoElement | Gets the target GeoElement of the GeoElementLineOfSight. | 
| TargetOffsetX | Gets or sets the location offset applied to the target GeoElement in the X direction. | 
| TargetOffsetY | Gets or sets the location offset applied to the target GeoElement in the Y direction. | 
| TargetOffsetZ | Gets or sets the location offset applied to the target GeoElement in the Z direction. | 
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.2.1 - 100.15 | 
| .NET 5 | 100.10 - 100.12 | 
| .NET Core 3.1 | 100.7 - 100.12 | 
| Xamarin.Android | 100.2.1 - 100.15 | 
| Xamarin.iOS | 100.2.1 - 100.15 | 
| UWP | 100.2.1 - 100.15 |