UtilityAssociation.withFractionAlongEdge constructor
- 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.
This constructor is typically used when creating UtilityAssociationType.junctionEdgeObjectConnectivityMidspan association.
Parameters:
associationType— The type of association between the UtilityAssociation.fromElement and UtilityAssociation.toElement.fromElement— The first participant in the association.toElement— The second participant in the association.fractionAlongEdge— The relative location along the non-spatial edge where the junction is (logically) located.