예제 #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)
 {
     return(Set(Position1.Create(p1)));
 }
예제 #2
0
 /// <summary>
 /// Returns whether the relation contains the specified position.
 /// </summary>
 public bool Contains(P1 p1)
 {
     return(Contains(Position1.Create(p1)));
 }