ArcGIS Runtime SDK for iOS: AGSLineOfSight Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSLineOfSight Class Reference

Description

Base class for all line-of-sight analysis.

Base class for line of sight analysis. Line of sight analysis determines the visibility of sight lines over obstructions consisting of a surface and multipatch datasets (such as 3D models, etc).

License Restrictions:
This feature requires a Standard license for production deployment. No license required in Developer mode for testing.

Since
100.2
Inheritance diagram for AGSLineOfSight:
AGSAnalysis AGSObject AGSGeoElementLineOfSight AGSLocationLineOfSight

Class Methods

(CGFloat) + lineWidth
 
(AGSColor *) + obstructedColor
 
(void) + setLineWidth:
 
(void) + setObstructedColor:
 
(void) + setVisibleColor:
 
(AGSColor *) + visibleColor
 

Properties

AGSLineOfSightTargetVisibility targetVisibility
 
BOOL visible
 

Method Documentation

◆ lineWidth

+ (CGFloat) lineWidth

The line width used to render analysis results. This setting is applied to all line of sight analyses in the view.

Since
100.2

◆ obstructedColor

+ (AGSColor *) obstructedColor

The color used to render segments that are not visible along the analysis results. Sections of the line between the observer and the target that are obstructed (not visible) are drawn with the specified color. This setting is applied to all line of sight analyses in the view.

Since
100.2

◆ setLineWidth:

+ (void) setLineWidth: (CGFloat)  lineWidth

Sets the line width used to render analysis results. This setting is applied to all line of sight analyses in the view.

Parameters
lineWidthin points
Since
100.2

◆ setObstructedColor:

+ (void) setObstructedColor: (AGSColor *)  obstructedColor

Sets the color used to render segments that are not visible along the analysis results. Sections of the line between the observer and the target that are obstructed (not visible) are drawn with the specified color. This setting is applied to all line of sight analyses in the view.

Parameters
obstructedColorused to render segments that are not visible
Since
100.2

◆ setVisibleColor:

+ (void) setVisibleColor: (AGSColor *)  visibleColor

Sets the color used to render segments that are visible along the analysis results. Sections of the line between the observer and the target that are visible are drawn with the specified color. This setting is applied to all line of sight analyses in the view.

Parameters
visibleColorused to render segments that are visible
Since
100.2

◆ visibleColor

+ (AGSColor *) visibleColor

The color used to render segments that are visible along the analysis results. Sections of the line between the observer and the target that are visible are drawn with the specified color. This setting is applied to all line of sight analyses in the view.

Since
100.2

Property Documentation

◆ targetVisibility

- (AGSLineOfSightTargetVisibility) targetVisibility
readnonatomicassign

Indicates state of the target's visbility.

Since
100.2

◆ visible

- (BOOL) visible
readwritenonatomicassigninherited

Indicates whether the results of this analysis should be visible or not. Visibility can be controlled for individual analyses as well as for the analysis overlay that contains them.

Since
100.2