A connectivity, containment, or structural attachment association. More...
|Esri::ArcGISRuntime::UtilityElement *||fromElement() const|
|Esri::ArcGISRuntime::UtilityElement *||toElement() const|
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
[override virtual] Utility
Association: : ~Utility Association()
: Utility A r c GISRuntime: : Utility Association Type Association: : association Type() const
Returns the UtilityAssociationType of this association.
[since Esri:double Utility
: A r c GISRuntime 100.10] Association: : fraction Along() const Edge
Returns 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 UtilityAssociationType::JunctionEdgeObjectConnectivityToSide, the value will be
0.0, if UtilityAssociationType::JunctionEdgeObjectConnectivityMidspan, the value will be between
1.0, and if UtilityAssociationType::JunctionEdgeObjectConnectivityFromSide, the value will be
The default value is
This function was introduced in Esri::ArcGISRuntime 100.10.
: *Utility A r c GISRuntime: : Utility Element Association: : from Element() 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.
: A r c GISRuntime 100.8] : Utility A r c GISRuntime: : Geometry Association: : 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 of UtilityAssociation objects returned by UtilityNetwork::associations(extent) or UtilityNetwork::associations(extent, type).
This function was introduced in Esri::ArcGISRuntime 100.8.
Association: : global I() const d
Returns the global ID of the association.
Association: : i s() const Containment Visible
If this UtilityAssociation represents a containment association, returns whether the containment is visible.
: *Utility A r c GISRuntime: : Utility Element Association: : t o() const Element
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.