Beispiel #1
0
 internal IfcLightSourceGoniometric(IfcLightSourceGoniometric el)
     : base(el)
 {
     mPosition                    = el.mPosition;
     mColourAppearance            = el.mColourAppearance;
     mColourTemperature           = el.mColourTemperature;
     mLuminousFlux                = el.mLuminousFlux;
     mLightEmissionSource         = el.mLightEmissionSource;
     mLightDistributionDataSource = el.mLightDistributionDataSource;
 }
Beispiel #2
0
 internal static void parseFields(IfcLightSourceGoniometric l, List <string> arrFields, ref int ipos)
 {
     IfcLightSource.parseFields(l, arrFields, ref ipos);
     l.mPosition                    = ParserSTEP.ParseLink(arrFields[ipos++]);
     l.mColourAppearance            = ParserSTEP.ParseLink(arrFields[ipos++]);
     l.mColourTemperature           = ParserSTEP.ParseDouble(arrFields[ipos++]);
     l.mLuminousFlux                = ParserSTEP.ParseDouble(arrFields[ipos++]);
     l.mLightEmissionSource         = (IfcLightEmissionSourceEnum)Enum.Parse(typeof(IfcLightEmissionSourceEnum), arrFields[ipos++].Replace(".", ""));
     l.mLightDistributionDataSource = ParserSTEP.ParseLink(arrFields[ipos++]);
 }
Beispiel #3
0
 //internal IfcLightSourceGoniometric(DatabaseIfc db, IfcLightSourceGoniometric el)
 //	: base(el)
 //{
 //	mPosition = el.mPosition;
 //	mColourAppearance = el.mColourAppearance;
 //	mColourTemperature = el.mColourTemperature;
 //	mLuminousFlux = el.mLuminousFlux;
 //	mLightEmissionSource = el.mLightEmissionSource;
 //	mLightDistributionDataSource = el.mLightDistributionDataSource;
 //}
 internal static IfcLightSourceGoniometric Parse(string str)
 {
     IfcLightSourceGoniometric l = new IfcLightSourceGoniometric(); int pos = 0; l.Parse(str, ref pos, str.Length); return(l);
 }
Beispiel #4
0
 internal static IfcLightSourceGoniometric Parse(string strDef)
 {
     IfcLightSourceGoniometric l = new IfcLightSourceGoniometric(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return(l);
 }
Beispiel #5
0
 //internal IfcLightSourceGoniometric(DatabaseIfc db, IfcLightSourceGoniometric el)
 //    : base(el)
 //{
 //    mPosition = el.mPosition;
 //    mColourAppearance = el.mColourAppearance;
 //    mColourTemperature = el.mColourTemperature;
 //    mLuminousFlux = el.mLuminousFlux;
 //    mLightEmissionSource = el.mLightEmissionSource;
 //    mLightDistributionDataSource = el.mLightDistributionDataSource;
 //}
 internal static IfcLightSourceGoniometric Parse(string str)
 {
     IfcLightSourceGoniometric l = new IfcLightSourceGoniometric(); int pos = 0; l.Parse(str, ref pos, str.Length); return l;
 }
Beispiel #6
0
		internal static void parseFields(IfcLightSourceGoniometric l, List<string> arrFields, ref int ipos)
		{
			IfcLightSource.parseFields(l, arrFields, ref ipos);
			l.mPosition = ParserSTEP.ParseLink(arrFields[ipos++]);
			l.mColourAppearance = ParserSTEP.ParseLink(arrFields[ipos++]);
			l.mColourTemperature = ParserSTEP.ParseDouble(arrFields[ipos++]);
			l.mLuminousFlux = ParserSTEP.ParseDouble(arrFields[ipos++]);
			l.mLightEmissionSource = (IfcLightEmissionSourceEnum)Enum.Parse(typeof(IfcLightEmissionSourceEnum), arrFields[ipos++].Replace(".", ""));
			l.mLightDistributionDataSource = ParserSTEP.ParseLink(arrFields[ipos++]);
		}
Beispiel #7
0
		internal static IfcLightSourceGoniometric Parse(string strDef) { IfcLightSourceGoniometric l = new IfcLightSourceGoniometric(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return l; }
Beispiel #8
0
		internal IfcLightSourceGoniometric(IfcLightSourceGoniometric el)
			: base(el)
		{
			mPosition = el.mPosition;
			mColourAppearance = el.mColourAppearance;
			mColourTemperature = el.mColourTemperature;
			mLuminousFlux = el.mLuminousFlux;
			mLightEmissionSource = el.mLightEmissionSource;
			mLightDistributionDataSource = el.mLightDistributionDataSource;
		}