ArcGIS Pro 2.9 API Reference Guide
LineOfSight Constructor(Camera,List<Camera>,Double,Double)

ArcGIS.Desktop.Mapping Namespace > LineOfSight Class > LineOfSight Constructor : LineOfSight Constructor(Camera,List<Camera>,Double,Double)
A Camera object used for position of the observer. Must be in the target map's ArcGIS.Core.Geometry.SpatialReference.
A list of Camera objects used for the target points. At least one target is required. Must be in the target map's ArcGIS.Core.Geometry.SpatialReference.
Defines a near distance limit in meters. Any scene content closer than this value is disregarded.
Defines a far distance limit and size of the view dome in meters. Any scene content far than this value is disregarded.
The default LineOfSight constructor.
Syntax

Parameters

observer
A Camera object used for position of the observer. Must be in the target map's ArcGIS.Core.Geometry.SpatialReference.
targets
A list of Camera objects used for the target points. At least one target is required. Must be in the target map's ArcGIS.Core.Geometry.SpatialReference.
minimumDistance
Defines a near distance limit in meters. Any scene content closer than this value is disregarded.
maximumDistance
Defines a far distance limit and size of the view dome in meters. Any scene content far than this value is disregarded.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

LineOfSight Class
LineOfSight Members
Overload List