public bool EpsilonEquals(BuffTuple3b other, double epsilon = EPSILON) { if (other == this) { return(true); } return(EpsilonEquals(other.GetX(), other.GetY(), other.GetZ(), epsilon)); }
public bool Equals(BuffTuple3b other) { if (other == this) { return(true); } return(Equals(other.GetX(), other.GetY(), other.GetZ())); }
/** * Copy constructor. * * @param tuple Tuple. */ public BuffTuple3b(Tuple tuple) { if (tuple is Tuple3b) { Tuple3b _tuple = (Tuple3b)tuple; this.x = _tuple.GetX(); this.y = _tuple.GetY(); this.z = _tuple.GetZ(); } else if (tuple is BuffTuple3b) { BuffTuple3b _tuple = (BuffTuple3b)tuple; this.x = _tuple.GetX(); this.y = _tuple.GetY(); this.z = _tuple.GetZ(); } else { Tuple3b _tuple = new Tuple3b(tuple); this.x = _tuple.GetX(); this.y = _tuple.GetY(); this.z = _tuple.GetZ(); } }
public BuffTuple3b Clone() { BuffTuple3b copy = (BuffTuple3b)base.Clone(); return(copy); }
/** * Copy constructor. * * @param tuple Tuple. */ public BuffTuple3b(BuffTuple3b tuple) { this.x = tuple.GetX(); this.y = tuple.GetY(); this.z = tuple.GetZ(); }