A filter set on UtilityTraceFilter::nearestNeighbor to return the next N features from the starting point. More...
| Header | #include <Utility |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.8.
Public Functions
| virtual | ~ |
| QList | asset |
| QList | categories() const |
| Esri | cost |
| int | count() const |
Static Public Members
| Esri | create |
| Esri | create |
| Esri | create |
Detailed Description
Member Function Documentation
[override virtual] UtilityNearestNeighbor::~UtilityNearestNeighbor ()
Destructor.
QList<Esri::ArcGISRuntime::UtilityAssetType *> UtilityNearestNeighbor::assetTypes () const
Returns a list of UtilityAssetType that are used to define features to return.
Can be empty when the UtilityNearestNeighbor is created with a list of UtilityCategory.
QList<Esri::ArcGISRuntime::UtilityCategory *> UtilityNearestNeighbor::categories() const
Returns a list of UtilityCategory that are used to define features to return.
Can be empty when the UtilityNearestNeighbor is created with a list of UtilityAssetType.
Esri::ArcGISRuntime::UtilityNetworkAttribute *UtilityNearestNeighbor::costNetworkAttribute () const
Returns the UtilityNetworkAttribute used to determine the definition of "nearest".
int UtilityNearestNeighbor::count() const
Returns the number of nearest features to return.
[static] Esri::ArcGISRuntime::UtilityNearestNeighbor *UtilityNearestNeighbor::createWithAssetTypes (Esri::ArcGISRuntime::UtilityNetworkAttribute *costNetworkAttribute , int count, const QList<Esri::ArcGISRuntime::UtilityAssetType *> &assetTypes , QObject *parent)
Creates a filter object to return the next N features from the starting point.
- costNetworkAttribute - The UtilityNetworkAttribute used to determine the definition of "nearest".
- count - The number of nearest features to return.
- assetTypes - The collection of UtilityAssetType that are used to define features to return.
- parent - The parent object (optional).
[static] Esri::ArcGISRuntime::UtilityNearestNeighbor *UtilityNearestNeighbor::createWithAssetTypesAndCategories (Esri::ArcGISRuntime::UtilityNetworkAttribute *costNetworkAttribute , int count, const QList<Esri::ArcGISRuntime::UtilityAssetType *> &assetTypes , const QList<Esri::ArcGISRuntime::UtilityCategory *> &categories, QObject *parent)
Creates a filter object to return the next N features from the starting point.
- costNetworkAttribute - The UtilityNetworkAttribute used to determine the definition of "nearest".
- count - The number of nearest features to return.
- assetTypes - The collection of UtilityAssetType that are used to define features to return.
- categories - The collection of UtilityCategory that are used to define features to return.
- parent - The parent object (optional).
[static] Esri::ArcGISRuntime::UtilityNearestNeighbor *UtilityNearestNeighbor::createWithCategories (Esri::ArcGISRuntime::UtilityNetworkAttribute *costNetworkAttribute , int count, const QList<Esri::ArcGISRuntime::UtilityCategory *> &categories, QObject *parent)
Creates a filter object to return the next N features from the starting point.
- costNetworkAttribute - The UtilityNetworkAttribute used to determine the definition of "nearest".
- count - The number of nearest features to return.
- categories - The collection of UtilityCategory that are used to define features to return.
- parent - The parent object (optional).