UtilityNearestNeighbor class final

A filter set on UtilityTraceFilter.nearestNeighbor to return the next n features from the starting point.

Implemented types

Constructors

UtilityNearestNeighbor({required UtilityNetworkAttribute costNetworkAttribute, required int count, List<UtilityAssetType> assetTypes = const [], List<UtilityCategory> categories = const []})
Creates a filter object to return the next n features from the starting point with asset types and categories.
factory

Properties

assetTypes List<UtilityAssetType>
The collection of UtilityAssetType that are used to define features to return.
no setter
categories List<UtilityCategory>
The collection of UtilityCategory that are used to define features to return.
no setter
costNetworkAttribute UtilityNetworkAttribute
The UtilityNetworkAttribute used to determine the definition of "nearest".
no setter
count int
The number of nearest features to return.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited