// ------------------------------------------------------------------------------
// <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;

//## Custom using statements
//##

// ReSharper disable once CheckNamespace
namespace Xbim.Ifc4x3.GeometryResource
{
	public partial class @IfcCartesianTransformationOperator3DnonUniform : IIfcCartesianTransformationOperator3DnonUniform
	{

		[CrossSchemaAttribute(typeof(IIfcCartesianTransformationOperator3DnonUniform), 6)]
		Ifc4.MeasureResource.IfcReal? IIfcCartesianTransformationOperator3DnonUniform.Scale2 
		{ 
			get
			{
				if (!Scale2.HasValue) return null;
				return new Ifc4.MeasureResource.IfcReal(Scale2.Value);
			} 
			set
			{
				Scale2 = value.HasValue ? 
					new MeasureResource.IfcReal(value.Value) :  
					 new MeasureResource.IfcReal?() ;
				
			}
		}

		[CrossSchemaAttribute(typeof(IIfcCartesianTransformationOperator3DnonUniform), 7)]
		Ifc4.MeasureResource.IfcReal? IIfcCartesianTransformationOperator3DnonUniform.Scale3 
		{ 
			get
			{
				if (!Scale3.HasValue) return null;
				return new Ifc4.MeasureResource.IfcReal(Scale3.Value);
			} 
			set
			{
				Scale3 = value.HasValue ? 
					new MeasureResource.IfcReal(value.Value) :  
					 new MeasureResource.IfcReal?() ;
				
			}
		}
		Ifc4.MeasureResource.IfcReal IIfcCartesianTransformationOperator3DnonUniform.Scl2 
		{
			get 
			{
				return new Ifc4.MeasureResource.IfcReal(Scl2);
			}
		}

		Ifc4.MeasureResource.IfcReal IIfcCartesianTransformationOperator3DnonUniform.Scl3 
		{
			get 
			{
				return new Ifc4.MeasureResource.IfcReal(Scl3);
			}
		}

	//## Custom code
	//##
	}
}