/// <summary> /// Returns the DirectedEdge on the left-hand side of the given DirectedEdge (which /// must be a member of this DirectedEdgeStar). /// </summary> public DirectedEdge GetNextEdge(DirectedEdge dirEdge) { int i = GetIndex(dirEdge); return((DirectedEdge)outEdges[GetIndex(i + 1)]); }
/// <summary> Adds a new member to this DirectedEdgeStar.</summary> public void Add(DirectedEdge de) { outEdges.Add(de); sorted = false; }
/// <summary> Drops a member of this DirectedEdgeStar.</summary> public void Remove(DirectedEdge de) { outEdges.Remove(de); }