UtilityElement class final

An entity in a utility network that corresponds to a Feature.

UtilityElement includes a reference to a Feature inside a utility network source, plus a terminal (if applicable). UtilityElement objects are used across the utility network API. Some places where they are used are to specify starting points and barriers for use with tracing, and returned as results from tracing.

Implemented types

Properties

assetGroup UtilityAssetGroup
The asset group the element belongs to.
no setter
assetType UtilityAssetType
The asset type the element belongs to.
no setter
fractionAlongEdge double
How far the starting point or barrier is located along an edge in the utility network feature, from 0.0 (edge's start) to 1.0 (edge's end).
getter/setter pair
globalId Guid
The global ID of the element.
no setter
hashCode int
The hash code for this object.
no setterinherited
isValid bool
Indicates whether or not the UtilityElement has complete data available.
no setter
networkSource UtilityNetworkSource
The UtilityNetworkSource the element is from.
no setter
objectId int
The object ID of the element's corresponding feature in the UtilityElement.networkSource.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terminal UtilityTerminal?
The UtilityTerminal of the utility network feature.
getter/setter pair

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