GeometryGym.Ifc.IfcLightSourceGoniometric.Parse C# (CSharp) Méthode

Parse() protected méthode

protected Parse ( string str, int &pos, int len ) : void
str string
pos int
len int
Résultat void
        protected override void Parse(string str, ref int pos, int len)
        {
            base.Parse(str, ref pos, len);
            mPosition = ParserSTEP.StripLink(str, ref pos, len);
            mColourAppearance = ParserSTEP.StripLink(str, ref pos, len);
            mColourTemperature = ParserSTEP.StripDouble(str, ref pos, len);
            mLuminousFlux = ParserSTEP.StripDouble(str, ref pos, len);
            mLightEmissionSource = (IfcLightEmissionSourceEnum)Enum.Parse(typeof(IfcLightEmissionSourceEnum), ParserSTEP.StripField(str, ref pos, len).Replace(".", ""));
            mLightDistributionDataSource = ParserSTEP.StripLink(str, ref pos, len);
        }

Same methods

IfcLightSourceGoniometric::Parse ( string str ) : IfcLightSourceGoniometric

Usage Example

 //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);
 }
All Usage Examples Of GeometryGym.Ifc.IfcLightSourceGoniometric::Parse