public SG Remaining(d3 p)
 {
     if (p.Equals(a))
     {
         return(new SG(b, c));
     }
     if (p.Equals(b))
     {
         return(new SG(c, a));
     }
     if (p.Equals(c))
     {
         return(new SG(a, b));
     }
     throw new Exception();
 }
示例#2
0
 public bool HasPoint(d3 p)
 {
     if (p.Equals(a))
     {
         return(true);
     }
     if (p.Equals(b))
     {
         return(true);
     }
     if (p.Equals(c))
     {
         return(true);
     }
     if (p.Equals(d))
     {
         return(true);
     }
     return(false);
 }
 public bool HasVert(d3 p) => p.Equals(a) || p.Equals(b) || p.Equals(c);