Пример #1
0
 internal IfcLightSourcePositional(IfcLightSourcePositional el)
     : base((IfcLightSource)el)
 {
     mPosition            = el.mPosition;
     mRadius              = el.mRadius;
     mConstantAttenuation = el.mConstantAttenuation;
     mDistanceAttenuation = el.mDistanceAttenuation;
     mQuadricAttenuation  = el.mQuadricAttenuation;
 }
Пример #2
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++]);
 }
Пример #3
0
 //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);
 }
Пример #4
0
 internal static IfcLightSourcePositional Parse(string strDef)
 {
     IfcLightSourcePositional l = new IfcLightSourcePositional(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return(l);
 }
Пример #5
0
 //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;
 }
Пример #6
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++]);
		}
Пример #7
0
		internal static IfcLightSourcePositional Parse(string strDef) { IfcLightSourcePositional l = new IfcLightSourcePositional(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return l; }
Пример #8
0
		internal IfcLightSourcePositional(IfcLightSourcePositional el)
			: base((IfcLightSource)el)
		{
			mPosition = el.mPosition;
			mRadius = el.mRadius;
			mConstantAttenuation = el.mConstantAttenuation;
			mDistanceAttenuation = el.mDistanceAttenuation;
			mQuadricAttenuation = el.mQuadricAttenuation;
		}