internal static void parseFields(IfcRectangularTrimmedSurface s, List<string> arrFields, ref int ipos) { IfcBoundedSurface.parseFields(s, arrFields, ref ipos); s.mBasisSurface = ParserSTEP.ParseLink(arrFields[ipos++]); s.mU1 = ParserSTEP.ParseDouble(arrFields[ipos++]); s.mU2 = ParserSTEP.ParseDouble(arrFields[ipos++]); s.mV1 = ParserSTEP.ParseDouble(arrFields[ipos++]); s.mV2 = ParserSTEP.ParseDouble(arrFields[ipos++]); s.mUsense = ParserSTEP.ParseBool(arrFields[ipos++]); s.mVsense = ParserSTEP.ParseBool(arrFields[ipos++]); }
internal static IfcRectangularTrimmedSurface Parse(string strDef) { IfcRectangularTrimmedSurface s = new IfcRectangularTrimmedSurface(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
internal IfcRectangularTrimmedSurface(IfcRectangularTrimmedSurface s) : base(s) { mBasisSurface = s.mBasisSurface; mU1 = s.mU1; mU2 = s.mU2; mV1 = s.mV1; mV2 = s.mV2; mUsense = s.mUsense; mVsense = s.mVsense; }