public override bool Equals(object obj) { // If parameter cannot be cast to ThreeDPoint return false: BoxEmitterType p = obj as BoxEmitterType; if (p == null) { return(false); } return(base.Equals(obj) && box.Equals(p.box)); }
protected override void SetOutputs(IGH_DataAccess da) { AbstractEmitterType emitter = new BoxEmitterType(box, continuousFlow, creationRate, numAgents, velocityMin, velocityMax); da.SetData(nextOutputIndex++, emitter); }
public bool Equals(BoxEmitterType p) { return base.Equals(p) && box.Equals(p.box); }
// Copy Constructor public BoxEmitterType(BoxEmitterType boxEmitter) { box = boxEmitter.box; }
public bool Equals(BoxEmitterType p) { return(base.Equals(p) && box.Equals(p.box)); }