// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool Xbim.CodeGeneration 
//  
//     Changes to this file may cause incorrect behaviour and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

using Xbim.Ifc4.Interfaces;
using System.Collections.Generic;
using System.Linq;
using Xbim.Common;

// ReSharper disable once CheckNamespace
namespace Xbim.Ifc2x3.PresentationOrganizationResource
{
	public partial class @IfcLightDistributionData : IIfcLightDistributionData
	{

		[CrossSchemaAttribute(typeof(IIfcLightDistributionData), 1)]
		Ifc4.MeasureResource.IfcPlaneAngleMeasure IIfcLightDistributionData.MainPlaneAngle 
		{ 
			get
			{
				return new Ifc4.MeasureResource.IfcPlaneAngleMeasure(MainPlaneAngle);
			} 
			set
			{
				MainPlaneAngle = new MeasureResource.IfcPlaneAngleMeasure(value);
				
			}
		}

		[CrossSchemaAttribute(typeof(IIfcLightDistributionData), 2)]
		IItemSet<Xbim.Ifc4.MeasureResource.IfcPlaneAngleMeasure> IIfcLightDistributionData.SecondaryPlaneAngle 
		{ 
			get
			{
			
				return new Common.Collections.ProxyValueSet<MeasureResource.IfcPlaneAngleMeasure, Ifc4.MeasureResource.IfcPlaneAngleMeasure>(SecondaryPlaneAngle, 
					s => new Ifc4.MeasureResource.IfcPlaneAngleMeasure(s), 
					t => new MeasureResource.IfcPlaneAngleMeasure(t));
			} 
		}

		[CrossSchemaAttribute(typeof(IIfcLightDistributionData), 3)]
		IItemSet<Xbim.Ifc4.MeasureResource.IfcLuminousIntensityDistributionMeasure> IIfcLightDistributionData.LuminousIntensity 
		{ 
			get
			{
			
				return new Common.Collections.ProxyValueSet<MeasureResource.IfcLuminousIntensityDistributionMeasure, Ifc4.MeasureResource.IfcLuminousIntensityDistributionMeasure>(LuminousIntensity, 
					s => new Ifc4.MeasureResource.IfcLuminousIntensityDistributionMeasure(s), 
					t => new MeasureResource.IfcLuminousIntensityDistributionMeasure(t));
			} 
		}
	//## Custom code
	//##
	}
}