Exemple #1
0
        public bool TryLookup(float value, out T output)
        {
            SpectrumBand <T> band;

            if (spectrum.Lookup(value).TryGetFirst(out band))
            {
                output = band.GetData();
                return(true);
            }

            output = default(T);
            return(false);
        }