Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityNearestNeighbor QML Type

A filter set on UtilityTraceFilter::nearestNeighbor to return the next N features from the starting point. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.8
Inherits:

Object

Properties

Signals

Methods

Detailed Description

Note: This type can only be created by calling methods createWithAssetTypes, createWithCategories or createWithAssetTypesAndCategories

Property Documentation

assetTypes : list<UtilityAssetType>

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.


categories : list<UtilityCategory>

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.


costNetworkAttribute : UtilityNetworkAttribute

Returns the UtilityNetworkAttribute used to determine the definition of "nearest".


count : int

Returns the number of nearest features to return.


Signal Documentation

costNetworkAttributeChanged()

Emitted when the costNetworkAttribute property changes.

Note: The corresponding handler is onCostNetworkAttributeChanged.


Method Documentation

UtilityNearestNeighbor createWithAssetTypes(costNetworkAttribute, int count, const QVariant&assetTypes)

A static method that 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.

UtilityNearestNeighbor createWithAssetTypesAndCategories(costNetworkAttribute, int count, const QVariant&assetTypes, const QVariant&categories)

A static method that 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.

UtilityNearestNeighbor createWithCategories(costNetworkAttribute, int count, const QVariant&categories)

A static method that 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.


Feedback on this topic?