Inheritance: IfcCurve
 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;
 }
示例#2
0
        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;
 }
示例#4
0
 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;
 }
示例#5
0
 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++]);
 }
示例#6
0
 internal static IfcLine Parse(string strDef)
 {
     IfcLine l = new IfcLine(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return(l);
 }
示例#7
0
 internal IfcLine(IfcLine l) : base(l)
 {
     mPnt = l.mPnt; mDir = l.mDir;
 }
示例#8
0
 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;
 }
示例#9
0
 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;
 }
示例#10
0
		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++]); }
示例#11
0
		internal static IfcLine Parse(string strDef) { IfcLine l = new IfcLine(); int ipos = 0; parseFields(l, ParserSTEP.SplitLineFields(strDef), ref ipos); return l; }
示例#12
0
		internal IfcLine(IfcLine l) : base(l) { mPnt = l.mPnt; mDir = l.mDir; }