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(); }
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);