[override virtual noexcept]
UtilityElement::~UtilityElement()
Destructor.
Esri::ArcGISRuntime::UtilityAssetGroup *UtilityElement::assetGroup() constReturns the asset group the element belongs to.
Esri::ArcGISRuntime::UtilityAssetType *UtilityElement::assetType() constReturns the asset type the element belongs to.
double UtilityElement::fractionAlongEdge() constReturns 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 globalId property refers to an dge feature that is an input to a tracing operation.
See also setFractionAlongEdge().
QUuid UtilityElement::globalId() constReturns the global ID of the element.
[since Esri::ArcGISRuntime 100.11]
bool UtilityElement::isValid() const
Returns whether or not the UtilityElement has complete data available
When taking a UtilityNetwork offline, some of the data can be filtered out to limit the size of the data. This may leave some elements in an incomplete state. For example, one element of an association may be included in the offline dataset while the other element may not.
When an element is incomplete, the following properties should not be used:
When valid is false
, the UtilityAssetType is assumed to have a UtilityAssociationDeletionSemantics of UtilityAssociationDeletionSemantics::Restricted.
This function was introduced in Esri::ArcGISRuntime 100.11.
Esri::ArcGISRuntime::UtilityNetworkSource *UtilityElement::networkSource() constReturns the UtilityNetworkSource the element is from..
qint64 UtilityElement::objectId() constReturns the object ID of the corresponding feature in the UtilityElement::networkSource.
This is only valid on results from a tracing operation, or with elements that are created from an ArcGISFeature. Otherwise, a value of -1 is returned.
void UtilityElement::setFractionAlongEdge(double fractionAlongEdge)Sets the fractionAlongEdge to fractionAlongEdge.
See also fractionAlongEdge.
[since Esri::ArcGISRuntime 100.7]
void UtilityElement::setTerminal(Esri::ArcGISRuntime::UtilityTerminal *terminal)
Sets the terminal to terminal.
This function was introduced in Esri::ArcGISRuntime 100.7.
See also terminal.
Esri::ArcGISRuntime::UtilityTerminal *UtilityElement::terminal() constReturns the UtilityTerminal of the utility network feature.
Only valid when the globalId refers to a device feature.
See also setTerminal().
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