A filter set on UtilityTraceFilter::nearestNeighbor to return the next N features from the starting point. More...
Header: | #include <UtilityNearestNeighbor.h> |
Since: | Esri::ArcGISRuntime 100.8 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
virtual | ~UtilityNearestNeighbor() override |
QList<Esri::ArcGISRuntime::UtilityAssetType *> | assetTypes() const |
QList<Esri::ArcGISRuntime::UtilityCategory *> | categories() const |
Esri::ArcGISRuntime::UtilityNetworkAttribute * | costNetworkAttribute() const |
int | count() const |
Static Public Members
Esri::ArcGISRuntime::UtilityNearestNeighbor * | createWithAssetTypes(Esri::ArcGISRuntime::UtilityNetworkAttribute *costNetworkAttribute, int count, const QList<Esri::ArcGISRuntime::UtilityAssetType *> &assetTypes, QObject *parent) |
Esri::ArcGISRuntime::UtilityNearestNeighbor * | createWithAssetTypesAndCategories(Esri::ArcGISRuntime::UtilityNetworkAttribute *costNetworkAttribute, int count, const QList<Esri::ArcGISRuntime::UtilityAssetType *> &assetTypes, const QList<Esri::ArcGISRuntime::UtilityCategory *> &categories, QObject *parent) |
Esri::ArcGISRuntime::UtilityNearestNeighbor * | createWithCategories(Esri::ArcGISRuntime::UtilityNetworkAttribute *costNetworkAttribute, int count, const QList<Esri::ArcGISRuntime::UtilityCategory *> &categories, QObject *parent) |
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 with asset types.
- costNetworkAttribute - The UtilityNetworkAttribute used to determine the definition of "nearest".
- count - The number of nearest features to return. This must be a positive number.
- assetTypes - The collection of UtilityAssetType that are 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 with asset types and categories.
- costNetworkAttribute - The UtilityNetworkAttribute used to determine the definition of "nearest".
- count - The number of nearest features to return. This must be a positive number.
- 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 with categories.
- costNetworkAttribute - The UtilityNetworkAttribute used to determine the definition of "nearest".
- count - The number of nearest features to return. This must be a positive number.
- categories - The collection of UtilityCategory that are used to define features to return.
- parent - The parent object (optional).