// ------------------------------------------------------------------------------
// <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.GeometricModelResource
{
	public partial class @IfcSectionedSpine : IIfcSectionedSpine
	{

		[CrossSchemaAttribute(typeof(IIfcSectionedSpine), 1)]
		IIfcCompositeCurve IIfcSectionedSpine.SpineCurve 
		{ 
			get
			{
				return SpineCurve;
			} 
			set
			{
				SpineCurve = value as GeometryResource.IfcCompositeCurve;
				
			}
		}

		[CrossSchemaAttribute(typeof(IIfcSectionedSpine), 2)]
		IItemSet<IIfcProfileDef> IIfcSectionedSpine.CrossSections 
		{ 
			get
			{
			
				return new Common.Collections.ProxyItemSet<ProfileResource.IfcProfileDef, IIfcProfileDef>(CrossSections);
			} 
		}

		[CrossSchemaAttribute(typeof(IIfcSectionedSpine), 3)]
		IItemSet<IIfcAxis2Placement3D> IIfcSectionedSpine.CrossSectionPositions 
		{ 
			get
			{
			
				return new Common.Collections.ProxyItemSet<GeometryResource.IfcAxis2Placement3D, IIfcAxis2Placement3D>(CrossSectionPositions);
			} 
		}
		Ifc4.GeometryResource.IfcDimensionCount IIfcSectionedSpine.Dim 
		{
			get 
			{
				return new Ifc4.GeometryResource.IfcDimensionCount(Dim);
			}
		}

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