public IfcIndexedColourMap(IfcTessellatedFaceSet __MappedTo, IfcNormalisedRatioMeasure?__Opacity, IfcColourRgbList __Colours, IfcPositiveInteger[] __ColourIndex) { this.MappedTo = __MappedTo; this.Opacity = __Opacity; this.Colours = __Colours; this.ColourIndex = new List <IfcPositiveInteger>(__ColourIndex); }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: base.Parse(propIndex, value, nestedIndex); return; case 1: _mappedTo = (IfcTessellatedFaceSet)(value.EntityVal); return; case 2: _texCoords = (IfcTextureVertexList)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _mappedTo = (IfcTessellatedFaceSet)(value.EntityVal); return; case 1: _opacity = value.RealVal; return; case 2: _colours = (IfcColourRgbList)(value.EntityVal); return; case 3: _colourIndex.InternalAdd(value.IntegerVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
protected IfcIndexedTextureMap(IfcSurfaceTexture[] __Maps, IfcTessellatedFaceSet __MappedTo, IfcTextureVertexList __TexCoords) : base(__Maps) { this.MappedTo = __MappedTo; this.TexCoords = __TexCoords; }
public IfcIndexedTriangleTextureMap(IfcSurfaceTexture[] __Maps, IfcTessellatedFaceSet __MappedTo, IfcTextureVertexList __TexCoords, IfcPositiveInteger[] __TexCoordIndex) : base(__Maps, __MappedTo, __TexCoords) { this.TexCoordIndex = new List <IfcPositiveInteger>(__TexCoordIndex); }