ArcGIS Runtime SDK for iOS: AGSUtilityElement Class Reference
ArcGIS Runtime SDK for iOS  100.9
AGSUtilityElement Class Reference

Description

A entity in a utility network that corresponds to an AGSFeature.

AGSUtilityElement includes a reference to an AGSFeature inside a utility network source, plus a terminal (if applicable). AGSUtilityElement objects are used across the utility network API. Some places where they are used are to specify starting points and barriers for use with tracing, and returned as results from tracing.

Since
100.6
Inheritance diagram for AGSUtilityElement:
AGSObject

Properties

AGSUtilityAssetGroupassetGroup
 
AGSUtilityAssetTypeassetType
 
double fractionAlongEdge
 
NSUUID * globalID
 
AGSUtilityNetworkSourcenetworkSource
 
NSInteger objectID
 
AGSUtilityTerminalterminal
 

Property Documentation

§ assetGroup

- (AGSUtilityAssetGroup*) assetGroup
readnonatomicstrong

The asset group the element belongs to

Since
100.6

§ assetType

- (AGSUtilityAssetType*) assetType
readnonatomicstrong

The asset type the element belongs to

Since
100.6

§ fractionAlongEdge

- (double) fractionAlongEdge
readwritenonatomicassign

How far the starting point or barrier is located along an edge in the utility network feature, from 0.0 (edge's start) to 1.0 (edge's end) This property is only valid when the AGSUtilityElement::globalID property refers to an edge feature that is an input to a tracing operation.

Since
100.6

§ globalID

- (NSUUID*) globalID
readnonatomicstrong

The global ID of the element

Since
100.6

§ networkSource

- (AGSUtilityNetworkSource*) networkSource
readnonatomicstrong

The AGSUtilityNetworkSource the element is from

Since
100.6

§ objectID

- (NSInteger) objectID
readnonatomicassign

The object ID of the element's corresponding feature in the AGSUtilityElement::networkSource Only valid on results from a tracing operation, or with elements that are created from an AGSArcGISFeature. Otherwise the value -1 is returned.

Since
100.6

§ terminal

- (AGSUtilityTerminal*) terminal
readwritenonatomicstrong

The AGSUtilityTerminal of the utility network feature. Only valid when the AGSUtilityElement::globalID refers to a device feature.

Since
100.6