public string getPhotonColourForPDPSource(Scientrace.Spot casualtySpot, PDPSource pdpSource, PhysicalObject3d physObj) { switch (pdpSource) { case PDPSource.Wavelength: return(this.wavelengthToRGB(casualtySpot.trace.wavelenght)); case PDPSource.AngleWheel: return(this.angleToRGB(casualtySpot, physObj)); } throw new Exception("Unknown PDPSource: " + pdpSource); }
public string colourLegend(PDPSource pdpSource) { switch (pdpSource) { case PDPSource.Wavelength: return(this.wavelengthLegend()); case PDPSource.AngleWheel: return(this.angleWheelLegend()); } throw new Exception("Unknown PDPSource: " + pdpSource); }
public string getPhotonColourForPDPSource(Scientrace.Spot casualtySpot, PDPSource pdpSource, PhysicalObject3d physObj) { switch (pdpSource) { case PDPSource.Wavelength: return this.wavelengthToRGB(casualtySpot.trace.wavelenght); case PDPSource.AngleWheel: return this.angleToRGB(casualtySpot, physObj); } throw new Exception("Unknown PDPSource: "+pdpSource); }
public string colourLegend(PDPSource pdpSource) { switch (pdpSource) { case PDPSource.Wavelength: return this.wavelengthLegend(); case PDPSource.AngleWheel: return this.angleWheelLegend(); } throw new Exception("Unknown PDPSource: "+pdpSource); }