Exemplo n.º 1
0
 internal static void parseFields(IfcLightSourcePositional l, List <string> arrFields, ref int ipos)
 {
     IfcLightSource.parseFields(l, arrFields, ref ipos);
     l.mPosition            = ParserSTEP.ParseLink(arrFields[ipos++]);
     l.mRadius              = ParserSTEP.ParseDouble(arrFields[ipos++]);
     l.mConstantAttenuation = ParserSTEP.ParseDouble(arrFields[ipos++]);
     l.mDistanceAttenuation = ParserSTEP.ParseDouble(arrFields[ipos++]);
     l.mQuadricAttenuation  = ParserSTEP.ParseDouble(arrFields[ipos++]);
 }
Exemplo n.º 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++]);
 }
Exemplo n.º 3
0
 internal static void parseFields(IfcLightSourceSpot l, List <string> arrFields, ref int ipos)
 {
     IfcLightSource.parseFields(l, arrFields, ref ipos); l.mOrientation = ParserSTEP.ParseLink(arrFields[ipos++]); l.mConcentrationExponent = ParserSTEP.ParseDouble(arrFields[ipos++]); l.mSpreadAngle = ParserSTEP.ParseDouble(arrFields[ipos++]); l.mBeamWidthAngle = ParserSTEP.ParseDouble(arrFields[ipos++]);
 }
Exemplo n.º 4
0
 internal static void parseFields(IfcLightSourceDirectional l, List <string> arrFields, ref int ipos)
 {
     IfcLightSource.parseFields(l, arrFields, ref ipos); l.mOrientation = ParserSTEP.ParseLink(arrFields[ipos++]);
 }
Exemplo n.º 5
0
 internal static void parseFields(IfcLightSourceAmbient l, List <string> arrFields, ref int ipos)
 {
     IfcLightSource.parseFields(l, arrFields, ref ipos);
 }