Esempio n. 1
0
 /// <summary>
 /// Adds the specified position to the relation. Returns true if it was added, false if it was already present.
 /// </summary>
 public bool Set(P1 p1, P2 p2)
 {
     return(Set(Position2.Create(p1, p2)));
 }
Esempio n. 2
0
 /// <summary>
 /// Returns whether the relation contains the specified position.
 /// </summary>
 public bool Contains(P1 p1, P2 p2)
 {
     return(Contains(Position2.Create(p1, p2)));
 }