Ejemplo n.º 1
0
 /// <summary>
 /// Returns true if the given object represents the same edge.
 /// </summary>
 public bool Equals(OriginalEdge obj)
 {
     return(obj.Vertex1 == this.Vertex1 &&
            obj.Vertex2 == this.Vertex2);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a turn from an original and a third vertex.
 /// </summary>
 public Turn(OriginalEdge edge, uint to)
 {
     this.Vertex1 = edge.Vertex1;
     this.Vertex2 = edge.Vertex2;
     this.Vertex3 = to;
 }