A connectivity, containment, or structural attachment association. More...
|UtilityElement *||fromElement() const|
|UtilityElement *||toElement() const|
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from Esri::ArcGISRuntime::Object
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
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 UtilityElement objects.
Member Function Documentation
UtilityAssociationType UtilityAssociation::associationType() const
Returns the UtilityAssociationType of this association.
UtilityElement *UtilityAssociation::fromElement() const
Returns the first participant in a UtilityAssociation.
If this is a containment association, this property represents the container. If this is a structural attachment association, this property represents the structure.
Geometry UtilityAssociation::geometry() const
Returns the geometry of this UtilityAssociation.
This geometry represents the connection between UtilityAssociation::fromElement and UtilityAssociation::toElement. This property is valid only on connectivity and structural attachment UtilityAssociation objects returned by UtilityNetwork::associations(const Envelope& extent) or UtilityNetwork::associations(const Envelope& extent, UtilityAssociationType type).
This function was introduced in Esri::ArcGISRuntime 100.8.
QUuid UtilityAssociation::globalId() const
Returns the global ID of the association.
If this UtilityAssociation represents a containment association, returns whether the containment is visible.
UtilityElement *UtilityAssociation::toElement() const
Returns 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.