ArcGIS Runtime SDK for iOS
100.15
|
Analysis of visibility along a line between two geo-elements.
Instances of this class represent an analysis object that evaluates visibility along a line defined by observer and target geo-element objects.
The result of the analysis is a line between the observer and the target geo-element (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 may be moving, in which case visibility will be dynamically updated.
Instance Methods | |
(instancetype) | - initWithObserverGeoElement:targetGeoElement: |
Class Methods | |
(instancetype) | + lineOfSightWithObserverGeoElement:targetGeoElement: |
(CGFloat) | + lineWidth |
(AGSColor *) | + obstructedColor |
(void) | + setLineWidth: |
(void) | + setObstructedColor: |
(void) | + setVisibleColor: |
(AGSColor *) | + visibleColor |
Properties | |
id< AGSGeoElement > | observerGeoElement |
double | observerOffsetX |
double | observerOffsetY |
double | observerOffsetZ |
id< AGSGeoElement > | targetGeoElement |
double | targetOffsetX |
double | targetOffsetY |
double | targetOffsetZ |
AGSLineOfSightTargetVisibility | targetVisibility |
BOOL | visible |
- (instancetype) initWithObserverGeoElement: | (id< AGSGeoElement >) | observerGeoElement | |
targetGeoElement: | (id< AGSGeoElement >) | targetGeoElement | |
Intialize the analysis with the provided observer and target geo-elements. As a result of the analysis, a line is rendered between the observer and target elements with distinct colors representing visible and obstructed segments.
observerGeoElement | defining the observer's location |
targetGeoElement | defining the target's location |
+ (instancetype) lineOfSightWithObserverGeoElement: | (id< AGSGeoElement >) | observerGeoElement | |
targetGeoElement: | (id< AGSGeoElement >) | targetGeoElement | |
Intialize the analysis with the provided observer and target geo-elements. As a result of the analysis, a line is rendered between the observer and target elements with distinct colors representing visible and obstructed segments.
observerGeoElement | defining the observer's location |
targetGeoElement | defining the target's location |
+ (CGFloat) lineWidth |
The line width used to render analysis results. This setting is applied to all line of sight analyses in the view.
+ (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.
+ (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.
lineWidth | in points |
+ (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.
obstructedColor | used to render segments that are not visible |
+ (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.
visibleColor | used to render segments that are visible |
+ (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.
|
readnonatomicstrong |
Geo-element defining the observer's location. The observer location is determined by the location of the geo-element plus any defined offsets (in X, Y, or Z). The offset position of the observer relative to the geo-element is always maintained, even when the geo-element moves.
|
readwritenonatomicassign |
The offset along the X axis relative to the observer geo-element's point location.
|
readwritenonatomicassign |
The offset along the Y axis relative to the observer geo-element's point location.
|
readwritenonatomicassign |
The offset along the Z axis relative to the observer geo-element's point location.
|
readnonatomicstrong |
Geo-element defining the target's location. The target location is determined by the location of the geo-element plus any defined offsets (in X, Y, or Z). The offset position of the target relative to the geo-element is always maintained, even when the geo-element moves.
|
readwritenonatomicassign |
The offset along the X axis relative to the target geo-element's point location.
|
readwritenonatomicassign |
The offset along the Y axis relative to the target geo-element's point location.
|
readwritenonatomicassign |
The offset along the Z axis relative to the target geo-element's point location.
|
readnonatomicassigninherited |
Indicates state of the target's visbility.
|
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.