public override T Map(double key) { if (!palette.TryGetValue(key, out var result)) { return(na); } return(result); }
public override T Map(double key, bool ignoreLimits = false) { if (!palette.TryGetValue(key, out var result)) { return(na); } return(result); }