[since Esri::ArcGISRuntime 200.5]
UtilityAssociation::UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType associationType, Esri::ArcGISRuntime::UtilityElement *fromElement, Esri::ArcGISRuntime::UtilityElement *toElement, QObject *parent = nullptr)
Creates an association with the specified type between the specified utility elements.
Use this constructor if the association type does not need to specify a different value for:
false
.This function was introduced in Esri::ArcGISRuntime 200.5.
See also UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType, Esri::ArcGISRuntime::UtilityElement*, Esri::ArcGISRuntime::UtilityElement*, bool, QObject*) and UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType, Esri::ArcGISRuntime::UtilityElement*, Esri::ArcGISRuntime::UtilityElement*, double, QObject*).
[since Esri::ArcGISRuntime 200.5]
UtilityAssociation::UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType associationType, Esri::ArcGISRuntime::UtilityElement *fromElement, Esri::ArcGISRuntime::UtilityElement *toElement, bool isContainmentVisible, QObject *parent = nullptr)
Creates an association with the specified type between the specified utility elements with isContainmentVisible value.
true
if the content in the containment association is visible, false
otherwise.This constructor is typically used when creating UtilityAssociationType::Containment association.
This function was introduced in Esri::ArcGISRuntime 200.5.
See also UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType, Esri::ArcGISRuntime::UtilityElement*, Esri::ArcGISRuntime::UtilityElement*, QObject*) and UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType, Esri::ArcGISRuntime::UtilityElement*, Esri::ArcGISRuntime::UtilityElement*, double, QObject*).
[since Esri::ArcGISRuntime 200.5]
UtilityAssociation::UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType associationType, Esri::ArcGISRuntime::UtilityElement *fromElement, Esri::ArcGISRuntime::UtilityElement *toElement, double fractionAlongEdge, QObject *parent = nullptr)
Creates an association with the specified type between the specified utility elements with the fractionAlongEdge value.
This constructor is typically used when creating UtilityAssociationType::JunctionEdgeObjectConnectivityMidspan association.
This function was introduced in Esri::ArcGISRuntime 200.5.
See also UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType, Esri::ArcGISRuntime::UtilityElement*, Esri::ArcGISRuntime::UtilityElement*, QObject*) and UtilityAssociation(Esri::ArcGISRuntime::UtilityAssociationType, Esri::ArcGISRuntime::UtilityElement*, Esri::ArcGISRuntime::UtilityElement*, bool, QObject*).
[override virtual noexcept]
UtilityAssociation::~UtilityAssociation()
Destructor.
Esri::ArcGISRuntime::UtilityAssociationType UtilityAssociation::associationType() constReturns the UtilityAssociationType of this association.
[since Esri::ArcGISRuntime 100.10]
double UtilityAssociation::fractionAlongEdge() const
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 0.0 and 1.0, and if UtilityAssociationType::JunctionEdgeObjectConnectivityFromSide, the value will be 1.0.
The default value is 0.0.
This function was introduced in Esri::ArcGISRuntime 100.10.
Esri::ArcGISRuntime::UtilityElement *UtilityAssociation::fromElement() constReturns 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.
[since Esri::ArcGISRuntime 100.8]
Esri::ArcGISRuntime::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 of UtilityAssociation objects returned by UtilityNetwork::associationsAsync(const Esri::ArcGISRuntime::Envelope&, QObject*) or UtilityNetwork::associationsAsync(const Esri::ArcGISRuntime::Envelope&, Esri::ArcGISRuntime::UtilityAssociationType, QObject*).
This function was introduced in Esri::ArcGISRuntime 100.8.
QUuid UtilityAssociation::globalId() constReturns the global ID of the association.
bool UtilityAssociation::isContainmentVisible() constIf this UtilityAssociation represents a containment association, returns whether the containment is visible.
Esri::ArcGISRuntime::UtilityElement *UtilityAssociation::toElement() constReturns 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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4