Ejemplo n.º 1
0
 internal IfcInventory(DatabaseIfc db, IfcInventory i, DuplicateOptions options) : base(db, i, options)
 {
     PredefinedType = i.PredefinedType;
     mJurisdiction  = db.Factory.Duplicate(i.mJurisdiction, options);
     mResponsiblePersons.AddRange(i.mResponsiblePersons.Select(x => db.Factory.Duplicate(x, options)));
     mLastUpdateDate = i.mLastUpdateDate;
     if (mLastUpdateDateSS != null)
     {
         mLastUpdateDateSS = db.Factory.Duplicate(i.mLastUpdateDateSS, options);
     }
     if (i.mCurrentValue != null)
     {
         mCurrentValue = db.Factory.Duplicate(i.mCurrentValue, options);
     }
     if (i.mOriginalValue != null)
     {
         mOriginalValue = db.Factory.Duplicate(i.mOriginalValue, options);
     }
 }
Ejemplo n.º 2
0
 internal IfcGeometricSet(DatabaseIfc db, IfcGeometricSet s, DuplicateOptions options) : base(db, s, options)
 {
     mElements.AddRange(s.mElements.ConvertAll(x => db.Factory.Duplicate(s.mDatabase[x.Index]) as IfcGeometricSetSelect));
 }
Ejemplo n.º 3
0
 public IfcFace(List <IfcFaceBound> bounds) : base(bounds[0].mDatabase)
 {
     mBounds.AddRange(bounds);
 }
Ejemplo n.º 4
0
 internal IfcWorkCalendar(DatabaseIfc db, IfcWorkCalendar c, DuplicateOptions options) : base(db, c, options)
 {
     mWorkingTimes.AddRange(c.WorkingTimes.Select(x => db.Factory.Duplicate(x) as IfcWorkTime));
     mExceptionTimes.AddRange(c.ExceptionTimes.Select(x => db.Factory.Duplicate(x) as IfcWorkTime));
     mPredefinedType = c.mPredefinedType;
 }
Ejemplo n.º 5
0
 public IfcFillAreaStyle(IEnumerable <IfcFillStyleSelect> styles) : base(styles.First().Database)
 {
     mFillStyles.AddRange(styles);
 }