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 |
Since: | Esri.ArcGISRuntime 100.8 |
Inherits: |
- List of all members, including inherited members
- UtilityNearestNeighbor is part of QML Type List.
Properties
- assetTypes : list<UtilityAssetType>
- categories : list<UtilityCategory>
- costNetworkAttribute : UtilityNetworkAttribute
- count : int
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. You cannot declare or create a component of this type in QML code.
Property Documentation
[read-only] 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.
[read-only] categories : list<UtilityCategory> |
A list of UtilityCategory that are used to define features to return (read-only).
Can be empty when the UtilityNearestNeighbor is created with a list of UtilityAssetType.
[read-only] costNetworkAttribute : UtilityNetworkAttribute |
Returns the UtilityNetworkAttribute used to determine the definition of "nearest" (read-only).
[read-only] count : int |
Returns the number of nearest features to return (read-only).
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) |
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 define features to return.
UtilityNearestNeighbor createWithAssetTypesAndCategories(UtilityNetworkAttribute costNetworkAttribute, int count, const QVariant&assetTypes, const QVariant&categories) |
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.
UtilityNearestNeighbor createWithCategories(UtilityNetworkAttribute costNetworkAttribute, int count, const QVariant&categories) |
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.