UtilityNearestNeighbor Class

  • UtilityNearestNeighbor
  • class Esri::ArcGISRuntime::UtilityNearestNeighbor

    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

    This class was introduced in Esri::ArcGISRuntime 100.8.

    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.

    • 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).

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.