// ------------------------------------------------------------------------------
// <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 @IfcTessellatedFaceSet : IIfcTessellatedFaceSet
	{

		[CrossSchemaAttribute(typeof(IIfcTessellatedFaceSet), 1)]
		IIfcCartesianPointList3D IIfcTessellatedFaceSet.Coordinates 
		{ 
			get
			{
				return Coordinates;
			} 
			set
			{
				Coordinates = value as IfcCartesianPointList3D;
				
			}
		}
		IEnumerable<IIfcIndexedColourMap> IIfcTessellatedFaceSet.HasColours 
		{ 
			get
			{
				return Model.Instances.Where<IIfcIndexedColourMap>(e => (e.MappedTo as IfcTessellatedFaceSet) == this, "MappedTo", this);
			} 
		}
		IEnumerable<IIfcIndexedTextureMap> IIfcTessellatedFaceSet.HasTextures 
		{ 
			get
			{
				return Model.Instances.Where<IIfcIndexedTextureMap>(e => (e.MappedTo as IfcTessellatedFaceSet) == this, "MappedTo", this);
			} 
		}
		Ifc4.GeometryResource.IfcDimensionCount Ifc4.GeometricModelResource.IfcBooleanOperand.Dim 
		{
			get 
			{
				return new Ifc4.GeometryResource.IfcDimensionCount(Dim);
			}
		}

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