/// <summary> /// Converts a <see cref="CieXyy"/> into a <see cref="CieXyz"/> /// </summary> /// <param name="color">The color to convert.</param> /// <returns>The <see cref="CieXyz"/></returns> public CieXyz ToCieXyz(CieXyy color) { Guard.NotNull(color, nameof(color)); // Conversion return(CieXyzAndCieXyyConverter.Convert(color)); }
/// <summary> /// Converts a <see cref="CieXyz"/> into a <see cref="CieXyy"/> /// </summary> /// <param name="color">The color to convert.</param> /// <returns>The <see cref="CieXyy"/></returns> public CieXyy ToCieXyy(CieXyz color) { Guard.NotNull(color, nameof(color)); return(CieXyzAndCieXyyConverter.Convert(color)); }