Edges
References[IoId("00000000-51ec-4119-95bc-40ccf7b0142a")]
public sealed class Edges : IStorable, IEquatable<Edges>
Maintains an immutable list of Edge instances and associated attributes.
Constructors
Properties
Indexers
Methods
Attributes
#Gets the attributes associated with the given index. Note; the index here does NOT represent the edge, but the attributes.
Parameters:
| index (int) |
BothWaysCount
#Gets the number of two-way edges that start or end end at the given node index.
Parameters:
| nodeIndex (int) |
BothWaysEdges
#Iterate over the indices of all two-way edges that start or end at the given node index.
Parameters:
| nodeIndex (int) |
Clean
#Cleanup this list of edges. This involves removing unused attributes and merging identical attributes.
EdgeLines
#Iterate over all lines implied by the edges.
Parameters:
| nodes (Nodes) | Nodes indexed by these edges. |
FlipAll
#IncomingCount
#Gets the number of one-way edges that end at the given node index.
Parameters:
| nodeIndex (int) |
IncomingEdges
#Iterate over the indices of all one-way edges that end at the given node index.
Parameters:
| nodeIndex (int) |
Merge
#Merge two edge arrays.
OutgoingCount
#Gets the number of one-way edges that start at the given node index.
Parameters:
| nodeIndex (int) |
OutgoingEdges
#Iterate over the indices of all one-way edges that start at the given node index.
Parameters:
| nodeIndex (int) |
TotalCount
#Gets the total number of edges that start or end end at the given node index.
Parameters:
| nodeIndex (int) |