GeometryGym.Ifc.IfcLightSourcePositional.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);
            mRadius = ParserSTEP.StripDouble(str, ref pos, len);
            mConstantAttenuation = ParserSTEP.StripDouble(str, ref pos, len);
            mDistanceAttenuation = ParserSTEP.StripDouble(str, ref pos, len);
            mQuadricAttenuation = ParserSTEP.StripDouble(str, ref pos, len);
        }

Same methods

IfcLightSourcePositional::Parse ( string str ) : IfcLightSourcePositional

Usage Example

 //internal IfcLightSourcePositional(IfcLightSourcePositional el)
 //	: base((IfcLightSource)el)
 //{
 //	mPosition = el.mPosition;
 //	mRadius = el.mRadius;
 //	mConstantAttenuation = el.mConstantAttenuation;
 //	mDistanceAttenuation = el.mDistanceAttenuation;
 //	mQuadricAttenuation = el.mQuadricAttenuation;
 //}
 internal static IfcLightSourcePositional Parse(string str)
 {
     IfcLightSourcePositional l = new IfcLightSourcePositional(); int pos = 0; l.Parse(str, ref pos, str.Length); return(l);
 }
All Usage Examples Of GeometryGym.Ifc.IfcLightSourcePositional::Parse