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.15
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.

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(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.

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