ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LineOfSight Class
Members

In This Topic
    LineOfSight Class
    In This Topic
    LineOfSight are used to conduct visibility analysis for direct lines from an observer point to one or more targets.

    An observer and one or more targets are created with lines connecting the target(s) to the observer. The line segements and targets are painted using the Visible and NotVisible colors if they can be seen by the observer of if the view is obstructed.

    Lines of sight can be used to model real-world objects like visibility to points of interest or rough approximations for projectile trajectories.

    Object Model
    LineOfSight ClassCamera ClassMapView Class
    Syntax
    public class LineOfSight : ExploratoryAnalysis 
    Public Class LineOfSight 
       Inherits ExploratoryAnalysis
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Mapping.ExploratoryAnalysis
          ArcGIS.Desktop.Mapping.LineOfSight

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also