Example #1
0
 public void Dereference(SharedVertex <T> sv)
 {
     if (sv.References == 1)
     {
         VertexGroup <T> .vertexPresence.Remove(sv.Vertex);
     }
     else
     {
         --sv.References;
     }
 }
Example #2
0
 public bool Equals(SharedVertex <T> other)
 {
     return(other.Vertex.Equals(this.Vertex));
 }