public IfcTrimmedCurve(IfcCartesianPoint s, IfcCartesianPoint e) : base(s.mDatabase) { BasisCurve = new IfcLine(s, new IfcVector(s.mDatabase, e.Location - s.Location)); mTrim1 = new IfcTrimmingSelect(s); mTrim2 = new IfcTrimmingSelect(e); mMasterRepresentation = IfcTrimmingPreference.CARTESIAN; mSenseAgreement = true; }
internal static IfcLine Parse(string str) { IfcLine l = new IfcLine(); int pos = 0, len = str.Length; l.mPnt = ParserSTEP.StripLink(str, ref pos, len); l.mDir = ParserSTEP.StripLink(str, ref pos, len); return(l); }
public IfcTrimmedCurve(IfcCartesianPoint s, IfcCartesianPoint e) : base(s.mDatabase) { IfcLine il = new IfcLine(s, new IfcVector(s.mDatabase,e.Location- s.Location)); mBasisCurve = il.mIndex; mTrim1 = new IfcTrimmingSelect(s); mTrim2 = new IfcTrimmingSelect(e); mMasterRepresentation = IfcTrimmingPreference.CARTESIAN; mSenseAgreement = true; }
internal IfcLine(DatabaseIfc db, IfcLine l) : base(db, l) { Pnt = db.Factory.Duplicate(l.Pnt) as IfcCartesianPoint; Dir = db.Factory.Duplicate(l.Dir) as IfcVector; }
internal static void parseFields(IfcLine l, List <string> arrFields, ref int ipos) { IfcCurve.parseFields(l, arrFields, ref ipos); l.mPnt = ParserSTEP.ParseLink(arrFields[ipos++]); l.mDir = ParserSTEP.ParseLink(arrFields[ipos++]); }
internal static IfcLine Parse(string strDef) { IfcLine l = new IfcLine(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return(l); }
internal IfcLine(IfcLine l) : base(l) { mPnt = l.mPnt; mDir = l.mDir; }
internal IfcLine(DatabaseIfc db, IfcLine l) : base(db,l) { Pnt = db.Factory.Duplicate( l.Pnt) as IfcCartesianPoint; Dir = db.Factory.Duplicate( l.Dir) as IfcVector; }
internal static IfcLine Parse(string str) { IfcLine l = new IfcLine(); int pos = 0, len = str.Length; l.mPnt = ParserSTEP.StripLink(str, ref pos, len); l.mDir = ParserSTEP.StripLink(str, ref pos, len); return l; }
internal static void parseFields(IfcLine l, List<string> arrFields, ref int ipos) { IfcCurve.parseFields(l, arrFields, ref ipos); l.mPnt = ParserSTEP.ParseLink(arrFields[ipos++]); l.mDir = ParserSTEP.ParseLink(arrFields[ipos++]); }
internal static IfcLine Parse(string strDef) { IfcLine l = new IfcLine(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return l; }