UtilityAssociation class final

A connectivity, containment, or structural attachment association.

Associations are an integral part of network topology. Connectivity associations allow connectivity between two junctions that don't have geometric coincidence (are not in the same location). Structural attachment associations allow modeling equipment attached to structures. Containment associations allow modeling containment of features within other features. Network traces make use of associations. Associations are defined using two UtilityElement objects.

Implemented types

Constructors

UtilityAssociation(UtilityAssociationType associationType, {required UtilityElement fromElement, required UtilityElement toElement})
Creates an association with the specified type between the specified utility elements.
factory
UtilityAssociation.withContainmentVisibility(UtilityAssociationType associationType, {required UtilityElement fromElement, required UtilityElement toElement, required bool isContainmentVisible})
Creates an association with the specified type between the specified utility elements with UtilityAssociation.isContainmentVisible value.
factory
UtilityAssociation.withFractionAlongEdge(UtilityAssociationType associationType, {required UtilityElement fromElement, required UtilityElement toElement, required double fractionAlongEdge})
Creates an association with the specified type between the specified utility elements with the UtilityAssociation.fractionAlongEdge value.
factory

Properties

associationType UtilityAssociationType
The UtilityAssociationType of this association.
no setter
fractionAlongEdge double
The relative location along the non-spatial edge where the junction is (logically) located.
no setter
fromElement UtilityElement
The first participant in an UtilityAssociation.
no setter
geometry Geometry?
The geometry of this UtilityAssociation.
no setter
globalId Guid
The global ID of the association.
no setter
hashCode int
The hash code for this object.
no setterinherited
isContainmentVisible bool
If this UtilityAssociation represents a containment association, returns whether the containment is visible.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toElement UtilityElement
The second participant in an association.
no setter

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