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