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

Description

A connectivity, containment, or structural attachment association.

Associations are an integral part of network topology. Connectivity associations allow connectivity between two junctions that don't have geometric coincidence (are not in the same location). Structural attachment associations allow modeling equipment attached to structures. Containment associations allow modeling containment of features within other features. Network traces make use of associations. Associations are defined using two AGSUtilityElement objects.

Since
100.7
Inheritance diagram for AGSUtilityAssociation:
AGSObject

Properties

AGSUtilityAssociationType associationType
 
BOOL containmentVisible
 
double fractionAlongEdge
 
AGSUtilityElementfromElement
 
AGSGeometrygeometry
 
NSUUID * globalID
 
AGSUtilityElementtoElement
 

Property Documentation

◆ associationType

- (AGSUtilityAssociationType) associationType
readnonatomicassign

The AGSUtilityAssociationType of this association.

Since
100.7

◆ containmentVisible

- (BOOL) containmentVisible
readnonatomicassign

If this AGSUtilityAssociation represents a containment association, returns whether the containment is visible.

Since
100.7

◆ fractionAlongEdge

- (double) fractionAlongEdge
readnonatomicassign

The relative location along the non-spatial edge where the junction is (logically) located.

If this is a junction to a non-spatial edge connectivity association, this property represents how far the junction is located along the non-spatial edge, from 0.0 (the edge's start point) and 1.0 (the edge's end point).

If this association represents AGSUtilityAssociationTypeJunctionEdgeObjectConnectivityToSide, the value will be 0.0, if AGSUtilityAssociationTypeJunctionEdgeObjectConnectivityMidspan, the value will be between 0.0 and 1.0, and if AGSUtilityAssociationTypeJunctionEdgeObjectConnectivityFromSide, the value will be 1.0.

The default value is 0.0.

Since
100.10

◆ fromElement

- (AGSUtilityElement*) fromElement
readnonatomicstrong

The first participant in an AGSUtilityAssociation. If this is a containment association, this property represents the container. If this is a structural attachment association, this property represents the structure.

Since
100.7

◆ geometry

- (AGSGeometry*) geometry
readnonatomicstrong

The geometry of this AGSUtilityAssociation. This geometry represents the connection between AGSUtilityAssociation::fromElement and AGSUtilityAssociation::toElement. This property is valid only on connectivity and structural attachment AGSUtilityAssociation objects returned by associationsWithExtent:completion: (AGSUtilityNetwork) or associationsWithExtent:type:completion: (AGSUtilityNetwork).

Since
100.8

◆ globalID

- (NSUUID*) globalID
readnonatomicstrong

The global ID of the association.

Since
100.7

◆ toElement

- (AGSUtilityElement*) toElement
readnonatomicstrong

The second participant in an association. If this is a containment association, this property represents the content. If this is a structural attachment association, this property represents the attached item.

Since
100.7