Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityNearestNeighbor QML Type

The set of utility network parameters that define elements of a trace or of a subnetwork. More...

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

Object

Properties

Signals

Methods

  • UtilityNearestNeighbor createWithAssetTypes(UtilityNetworkAttribute costNetworkAttribute, int count, const QVariant &assetTypes)
  • UtilityNearestNeighbor createWithAssetTypesAndCategories(UtilityNetworkAttribute costNetworkAttribute, int count, const QVariant &assetTypes, const QVariant &categories)
  • UtilityNearestNeighbor createWithCategories(UtilityNetworkAttribute costNetworkAttribute, int count, const QVariant &categories)

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.


categories : list<UtilityCategory>

A list of UtilityCategory that are used to define features to return.


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.


Method Documentation

UtilityNearestNeighbor createWithAssetTypes(UtilityNetworkAttribute 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(UtilityNetworkAttribute 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(UtilityNetworkAttribute 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?